Masahiro Yamada
e856bdcfb4
flash: complete CONFIG_SYS_NO_FLASH move with renaming
...
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
not completed. Finish this work by the tool.
During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
make the code more readable. Besides, negative meaning symbols do
not fit in obj-$(CONFIG_...) style Makefiles.
This commit was created as follows:
[1] Edit "default n" to "default y" in the config entry in
common/Kconfig.
[2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
[3] Rename the instances in defconfigs by the following:
find . -path './configs/*_defconfig' | xargs sed -i \
-e '/CONFIG_SYS_NO_FLASH=y/d' \
-e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'
[4] Change the conditionals by the following:
find . -name '*.[ch]' | xargs sed -i \
-e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
-e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
-e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
-e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'
[5] Modify the following manually
- Rename the rest of instances
- Remove the description from README
- Create the new Kconfig entry in drivers/mtd/Kconfig
- Remove the old Kconfig entry from common/Kconfig
- Remove the garbage comments from include/configs/*.h
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com >
2017-02-12 14:30:25 -05:00
..
2016-05-27 15:41:16 -04:00
2016-05-27 15:41:16 -04:00
2016-09-23 17:55:42 -04:00
2016-12-02 21:32:51 -05:00
2016-12-06 01:45:58 +01:00
2016-04-01 17:18:06 -04:00
2017-02-12 14:30:25 -05:00
2016-09-06 13:18:19 -04:00
2017-01-25 17:38:41 -05:00
2016-09-23 17:55:42 -04:00
2017-01-11 19:40:15 +09:00
2016-11-29 08:15:30 -05:00
2017-01-28 14:04:33 -05:00
2017-01-28 14:04:22 -05:00
2017-02-12 14:30:25 -05:00
2017-01-11 19:40:15 +09:00
2016-09-06 18:22:48 +02:00
2016-10-26 16:53:16 +02:00
2016-09-23 17:55:42 -04:00
2016-02-06 12:00:59 +01:00
2016-12-16 12:57:12 +01:00
2016-02-06 12:00:59 +01:00
2017-02-12 14:30:25 -05:00
2016-02-06 12:00:59 +01:00
2017-02-12 14:30:25 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-01-21 15:12:33 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2017-02-12 14:30:25 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-10-28 18:37:13 +02:00
2016-06-09 13:53:10 -04:00
2016-10-17 09:05:33 +02:00
2016-02-06 12:00:59 +01:00
2016-12-29 13:08:16 -05:00
2016-06-24 17:24:40 -04:00
2017-01-21 15:12:33 -05:00
2016-08-15 18:46:40 -04:00
2016-02-18 21:34:40 +01:00
2016-11-16 20:53:55 +01:00
2016-07-15 09:01:43 -07:00
2016-10-26 16:53:16 +02:00
2016-09-01 09:24:30 -07:00
2017-01-11 20:21:20 -07:00
2017-01-13 22:47:14 +01:00
2016-05-27 15:41:16 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2017-01-11 19:40:15 +09:00
2017-01-24 10:35:55 -05:00
2017-01-24 10:35:54 -05:00
2016-03-17 10:27:25 +08:00
2017-01-21 15:12:33 -05:00
2016-05-27 15:41:16 -04:00
2017-01-28 14:04:22 -05:00
2016-06-17 09:51:01 -04:00
2016-10-29 17:16:00 -04:00
2016-08-16 11:44:09 +08:00
2017-02-12 14:30:25 -05:00
2016-10-27 08:03:09 +02:00
2016-03-17 10:27:25 +08:00
2016-02-18 21:34:40 +01:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2017-02-07 13:34:10 +08:00
2017-01-02 17:35:22 +01:00
2016-09-23 17:53:56 -04:00
2016-12-02 21:32:51 -05:00
2017-02-12 14:30:25 -05:00
2016-09-23 17:55:42 -04:00
2017-02-01 09:02:57 +01:00
2016-11-29 16:42:53 +01:00
2017-02-09 12:10:59 -07:00
2017-02-01 16:34:25 -05:00
2017-01-28 14:04:24 -05:00
2017-01-11 19:40:14 +09:00
2017-01-11 19:40:15 +09:00
2016-02-06 12:00:59 +01:00
2016-05-27 15:41:16 -04:00
2016-12-09 15:00:04 -05:00
2017-01-24 10:33:53 -05:00
2016-05-02 18:37:09 -04:00
2016-08-16 11:44:09 +08:00
2017-01-02 11:14:01 -05:00
2016-09-23 17:55:42 -04:00
2016-02-06 12:00:59 +01:00
2016-05-27 15:41:16 -04:00
2016-10-27 08:03:10 +02:00
2017-01-21 15:12:33 -05:00
2016-05-27 15:41:16 -04:00
2016-09-27 23:30:27 +02:00
2016-08-17 10:25:34 +09:00
2016-11-29 16:40:12 +01:00
2016-02-20 21:40:02 +01:00
2017-01-11 19:40:15 +09:00
2017-01-20 09:15:19 -05:00
2017-01-30 16:24:47 +01:00
2017-01-20 09:15:19 -05:00
2017-01-28 14:04:24 -05:00
2016-06-19 17:05:55 -06:00
2016-09-23 17:55:42 -04:00
2017-01-28 14:04:22 -05:00
2016-10-23 18:33:54 -04:00
2017-01-21 15:12:33 -05:00
2016-09-27 23:30:27 +02:00
2017-01-25 17:38:45 -05:00
2016-12-02 21:32:51 -05:00
2016-12-02 21:32:51 -05:00
2016-12-02 21:32:51 -05:00
2016-12-02 21:32:51 -05:00
2016-05-27 15:41:16 -04:00
2017-01-11 19:40:15 +09:00
2017-01-21 15:12:33 -05:00
2016-12-09 15:00:02 -05:00
2017-01-20 09:15:19 -05:00
2016-05-31 09:44:24 +02:00
2016-05-27 15:41:16 -04:00
2017-02-08 16:24:25 -05:00
2016-02-06 12:00:59 +01:00
2016-05-31 10:17:54 +02:00
2016-05-31 09:44:24 +02:00
2017-02-08 06:12:14 -07:00
2017-01-28 14:04:26 -05:00
2017-01-24 10:33:53 -05:00
2017-02-12 14:30:25 -05:00
2017-02-09 12:10:59 -07:00
2016-06-03 20:27:48 -05:00
2017-02-10 18:51:51 +09:00
2017-01-21 15:12:33 -05:00
2016-09-18 21:04:38 -06:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2017-01-28 14:04:24 -05:00
2016-09-23 17:55:42 -04:00
2016-12-02 21:32:51 -05:00
2016-06-26 20:17:22 +02:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2016-05-31 07:48:34 +02:00
2016-10-27 08:03:10 +02:00
2017-01-28 14:04:50 -05:00
2017-01-15 18:16:12 +01:00
2016-10-09 10:55:32 +02:00
2016-08-05 12:50:33 +03:00
2016-10-31 10:13:16 -04:00
2016-11-29 16:33:50 +01:00
2016-09-07 08:48:58 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2017-01-11 19:40:15 +09:00
2016-11-29 16:45:48 +01:00
2017-01-11 19:40:15 +09:00
2016-12-06 01:45:58 +01:00
2016-09-24 10:00:41 +02:00
2017-01-28 14:04:22 -05:00
2017-01-20 09:15:19 -05:00
2016-11-15 15:27:50 +01:00
2017-01-11 19:40:15 +09:00
2016-05-31 09:44:24 +02:00
2016-10-23 18:33:54 -04:00
2017-01-02 17:55:58 +01:00
2017-01-24 10:33:59 -05:00
2016-12-05 11:04:41 -05:00
2016-11-29 16:34:56 +01:00
2016-10-26 16:53:16 +02:00
2017-01-02 17:11:10 +01:00
2016-09-23 17:55:42 -04:00
2016-06-24 17:24:34 -04:00
2016-11-23 23:42:10 -08:00
2017-01-10 10:18:12 +01:00
2016-03-27 09:13:01 -04:00