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 Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
m548xevb m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5208evbe m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5235evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5249evb m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5253demo m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5253evbe Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
m5272c3 m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5275evb m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5282evb m68k: move CONFIG_SYS_TEXT_BASE to defconfig files 2016-01-20 10:19:34 -05:00
m5329evb mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
m5373evb mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
m52277evb Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
m53017evb Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
m54418twr m68k: M54418TWR: drop board/freescale/m54418twr/config.mk 2016-01-20 10:19:34 -05:00
m54451evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m54455evb Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc832xemds Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
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 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
mpc8308rdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc8313erdb Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8315erdb usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc8323erdb Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8349emds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349itx fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8536ds usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02:00
mpc8540ads Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc8541cds Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc8544ds Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc8548cds Merge branch 'master' of git://git.denx.de/u-boot-net 2016-01-28 18:42:10 -05:00
mpc8555cds Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc8560ads Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc8568mds Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc8569mds Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8572ds Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8610hpcd Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8641hpcn Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
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 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx25pdk mx25pdk: Remove lowlevel_init.S file 2016-01-24 11:52:45 +01:00
mx28evk Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
mx31ads kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx31pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
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 qemu-ppce500: pass 'range_id' around in pci_map_region 2016-01-04 12:25:34 -05:00
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