u-boot/board/freescale
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
..
b4860qds powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
bsc9131rdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
bsc9132qds flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
c29xpcie powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
common NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
corenet_ds NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls1012afrdm armv8: ls1012a: Add support of PPA 2017-02-03 14:30:47 -08:00
ls1012aqds armv8: ls1012a: Add support of PPA 2017-02-03 14:30:47 -08:00
ls1012ardb armv8: ls1012a: Add support of PPA 2017-02-03 14:30:47 -08:00
ls1021aiot NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls1021aqds armv7: ls1021aqds: Set cpo_sample for erratum A-009942 2017-01-31 09:25:22 -08:00
ls1021atwr NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls1043aqds NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls1043ardb NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls1046aqds NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls1046ardb ls1046ardb: Add support power initialization 2017-01-18 09:29:13 -08:00
ls2080a NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls2080aqds NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
ls2080ardb NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
m547xevb
m548xevb
m5208evbe
m5235evb
m5249evb
m5253demo
m5253evbe
m5272c3
m5275evb
m5282evb
m5329evb
m5373evb
m52277evb
m53017evb
m54418twr
m54451evb
m54455evb
mpc832xemds
mpc837xemds usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc837xerdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc5121ads
mpc8308rdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc8313erdb
mpc8315erdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc8323erdb
mpc8349emds
mpc8349itx
mpc8536ds usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc8540ads
mpc8541cds
mpc8544ds
mpc8548cds
mpc8555cds
mpc8560ads
mpc8568mds
mpc8569mds
mpc8572ds
mpc8610hpcd
mpc8641hpcn
mx6qarm2 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx6qsabreauto mx6qsabreauto: Fix the EIM clock for the mx6qp variant 2017-01-02 17:12:37 +01:00
mx6sabresd mx6sabresd: Make Ethernet functional again 2016-11-06 06:59:27 -05:00
mx6slevk imx: s/docs\/README.imximage/doc\/README.imximage/g 2016-10-26 16:53:16 +02:00
mx6sllevk imx: mx6sllevk: add MAINTAINERS file 2016-12-27 11:24:19 -05:00
mx6sxsabreauto imx: mx6sxsabreauto: enable more dm drivers 2017-01-27 10:53:14 +01:00
mx6sxsabresd imx: clock: gate clk before changing pix clk mux 2016-12-16 11:38:24 +01:00
mx6ul_14x14_evk imx: clock: gate clk before changing pix clk mux 2016-12-16 11:38:24 +01:00
mx6ullevk mx6ullevk: Add missing MAINTAINERS for mx6ull_14x14_evk_plugin_defconfig 2017-01-08 10:07:10 -05:00
mx7dsabresd imx7: SPI: add suport for SPI flash in mikroBUS slot 2016-11-29 17:00:31 +01:00
mx23evk
mx25pdk
mx28evk
mx31ads
mx31pdk
mx35pdk treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx51evk treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx53ard treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx53evk treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx53loco treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx53smd treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
p1_p2_rdb_pc powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
p1_twr usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
p1010rdb powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
p1022ds powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
p1023rdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
p2041rdb NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUST 2017-01-24 10:33:59 -05:00
qemu-ppce500
s32v234evb imx: s/docs\/README.imximage/doc\/README.imximage/g 2016-10-26 16:53:16 +02:00
t4qds powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
t4rdb powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
t102xqds flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
t102xrdb flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
t104xrdb flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
t208xqds powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
t208xrdb powerpc: Drop probecpu() in favour of arch_cpu_init() 2017-01-25 17:38:41 -05:00
t1040qds flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
vf610twr imx: s/docs\/README.imximage/doc\/README.imximage/g 2016-10-26 16:53:16 +02:00