u-boot-brain/include
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
..
andestech
asm-generic
bedbug
cavium
configs flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
cramfs
dm dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dt-bindings Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2017-02-01 16:34:25 -05:00
environment/ti
faraday
fsl-mc
grlib
jffs2
linux
lzma
mtd
net
pcmcia
power
samsung
spmi
synopsys
tee
test
u-boot tools: Allow crc8 to be used 2017-02-07 10:54:32 -06:00
usb
zfs
_exports.h
.gitignore cmd: rework "license" command 2017-02-08 15:56:28 -05:00
ACEX1K.h
adc.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h
ambapp_ids.h
ambapp.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
backlight.h
bcd.h
bios_emul.h
bitfield.h
blk.h
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli_hush.h
cli.h
clk-uclass.h
clk.h
cmd_spl.h
command.h
common_timing_params.h
common.h Drop CONFIG_CMD_DOC 2017-01-25 17:38:45 -05:00
commproc.h powerpc: Drop CONFIG_SYS_ALLOC_DPRAM 2017-01-25 17:38:42 -05:00
compiler.h
config_cmd_all.h cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig 2017-02-08 16:24:28 -05:00
config_defaults.h disk: convert CONFIG_PARTITIONS to Kconfig 2017-01-28 08:47:30 -05:00
config_distro_bootcmd.h cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT 2017-01-28 08:48:03 -05:00
config_distro_defaults.h disk: convert CONFIG_EFI_PARTITION to Kconfig 2017-01-28 08:47:42 -05:00
config_fallbacks.h cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT 2017-01-28 08:48:03 -05:00
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cpsw.h
cpu.h
crc.h
cros_ec_message.h
cros_ec.h
dataflash.h flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display_options.h
display.h
div64.h
dm9000.h
dm-demo.h
dm.h
dma.h
dp83848.h
ds1722.h
ds4510.h
dt-structs.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h usb: dwc3: Correct datatype of base to unsigned long 2016-06-04 00:43:51 +02:00
dwmmc.h
e500.h
ec_commands.h
edid.h
eeprom_field.h
eeprom_layout.h
efi_api.h
efi_loader.h
efi.h
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h
errno.h treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ethsw.h
exports.h
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt_simplefb.h
fdt_support.h
fdt.h
fdtdec.h
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddr.h
fsl_ddrc_version.h
fsl_devdis.h arm/ls102xa:add hwconfig setting to support disable unused devices 2015-09-01 21:49:20 -05:00
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h net: fman: fix 2.5G SGMII settings 2016-12-08 10:36:22 -06:00
fsl_mmdc.h
fsl_pmic.h
fsl_qe.h
fsl_sec_mon.h
fsl_sec.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller 2016-09-27 23:30:49 +02:00
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c_eeprom.h
i2c.h
i2s.h
i8042.h
ide.h
image-sparse.h
image.h
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd_console.h
lcd.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libfdt_env.h
libfdt.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mb862xx.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
misc.h
mk48t59.h
mmc.h
mpc5xx.h
mpc5xxx_sdma.h
mpc5xxx.h
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260_irq.h
mpc8260.h
msc01.h
mtd_node.h
mtd.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h net: cosmetic: Define ethernet name length 2017-02-07 10:54:32 -06:00
netdev.h
ns16550.h serial, ns16550: bugfix: ns16550 fifo not enabled 2017-01-20 09:15:19 -05:00
ns87308.h
nuvoton_nct6102d.h
onenand_uboot.h
os.h
palmas.h
panel.h
part_efi.h
part.h cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT 2017-01-28 08:48:03 -05:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci.h
pcmcia.h
pe.h
phy.h net: phy: MSCC Add Support for VSC8530-VSC8531-VSC8540-VSC8541 2017-02-08 16:32:58 -06:00
phys2bus.h Create API to map between CPU physical and bus addresses 2015-04-14 05:47:59 +02:00
physmem.h
post.h
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h
remoteproc.h
reset-uclass.h
reset.h
rtc_def.h
rtc.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h mmc: sdhci: Add support for optional controller specific set_ios_post() 2017-01-25 07:03:44 +01:00
search.h
sed156x.h
serial.h
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smbios.h x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd_sdram.h
spd.h
spi_flash.h
spi.h
spl.h
splash.h
status_led.h status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tmu.h
tpm.h lib: tpm: Add command to flush resources 2017-02-01 09:02:57 +01:00
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usb.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font_4x6.h
video_font_data.h
video_font.h
video_logo.h
video.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
wait_bit.h lib: Add WATCHDOG_RESET to wait_bit.h 2017-01-10 10:18:11 +01:00
watchdog.h
winbond_w83627.h
xilinx.h
xyzModem.h Add eCos-2.0 SPDX-License-Identifier to source files 2013-07-24 09:45:01 -04:00
zfs_common.h
zynqmppl.h
zynqpl.h