u-boot/arch/arm/mach-uniphier
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
..
arm32 ARM: uniphier: simplify SoC ID get function 2017-01-22 16:49:27 +09:00
arm64 ARM: uniphier: make SPL optional for ARVv8 SoCs 2017-01-22 15:11:12 +09:00
bcu ARM: uniphier: make BCU init into void function 2017-01-17 09:00:40 +09:00
boot-mode ARM: uniphier: simplify SoC ID get function 2017-01-22 16:49:27 +09:00
clk ARM: uniphier: add PXs3 SoC support 2017-01-22 16:49:34 +09:00
debug-uart ARM: uniphier: simplify SoC ID get function 2017-01-22 16:49:27 +09:00
dram ARM: uniphier: refactor cmd_ddrmphy 2017-01-29 20:59:08 +09:00
sbc ARM: uniphier: add PXs3 SoC support 2017-01-22 16:49:34 +09:00
board_init.c ARM: uniphier: add PXs3 SoC support 2017-01-22 16:49:34 +09:00
board_late_init.c ARM: uniphier: adjust fdt_file environment handling to latest Linux 2016-10-29 17:01:40 +09:00
boards.c ARM: dts: uniphier: sync DT with latest Linux 2016-10-18 14:06:46 +09:00
cpu-info.c ARM: uniphier: add PXs3 SoC support 2017-01-22 16:49:34 +09:00
debug.h ARM: uniphier: add PSCI support for UniPhier ARMv7 SoCs 2016-08-11 17:58:06 +09:00
dram_init.c ARM: uniphier: use gd->bd->bi_dram for memory reserve on LD20 SoC 2017-01-29 20:59:08 +09:00
init.h ARM: uniphier: detect RAM size by decoding HW register instead of DT 2017-01-29 20:59:08 +09:00
Kconfig cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig 2017-02-08 16:24:28 -05:00
Makefile ARM: uniphier: compile board data only for SPL 2017-01-29 20:59:08 +09:00
memconf.c ARM: uniphier: replace <linux/err.h> with <linux/errno.h> 2017-01-22 15:32:56 +09:00
micro-support-card.c flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
micro-support-card.h ARM: uniphier: refactor Support Card init code 2017-01-17 09:00:40 +09:00
pinctrl-glue.c ARM: uniphier: replace <linux/err.h> with <linux/errno.h> 2017-01-22 15:32:56 +09:00
reset.c ARM: uniphier: support system reset functionality for PSCI 2016-08-28 13:09:19 +09:00
sc-regs.h ARM: uniphier: add clock/reset settings for xHCI of ProXstream2 2016-07-24 00:44:55 +09:00
sc64-regs.h ARM: uniphier: enable clocks to MIO/STDMAC on LD11 if USB is enabled 2016-10-29 17:24:30 +09:00
sg-regs.h ARM: uniphier: simplify SoC ID get function 2017-01-22 16:49:27 +09:00
soc-info.c ARM: uniphier: simplify SoC ID get function 2017-01-22 16:49:27 +09:00
soc-info.h ARM: uniphier: add PXs3 SoC support 2017-01-22 16:49:34 +09:00
spl_board_init.c ARM: uniphier: add macro to generate SoC data look-up function 2017-01-22 16:49:33 +09:00