u-boot/cmd
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
..
fastboot fastboot: simplify the Kconfig logic 2016-11-21 14:07:33 -05:00
mvebu arm64: mvebu: Update bubt command MMC block device access 2017-01-25 07:04:22 +01:00
.gitignore cmd: rework "license" command 2017-02-08 15:56:28 -05:00
aes.c
ambapp.c
armflash.c
bdinfo.c x86: bdinfo: Drop meaningless values 2016-08-16 11:44:09 +08:00
bedbug.c
blkcache.c cmd: blkcache: simplify sub-command handling 2016-04-11 12:44:38 -04:00
blob.c crypto/fsl: Update blob cmd to accept 64bit addresses 2016-08-02 09:45:39 -07:00
bmp.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
boot.c
bootefi.c disk: convert CONFIG_ISO_PARTITION to Kconfig 2017-01-28 08:47:35 -05:00
booti.c booti: Set images.os.arch 2017-01-28 14:04:51 -05:00
bootldr.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
bootm.c cmd: bootm: fix build when CONFIG_CMD_IMLS_NAND 2017-02-08 15:56:32 -05:00
bootmenu.c
bootstage.c
bootz.c bootz/booti: relocate ramdisk if CONFIG_SYS_BOOT_RAMDISK_HIGH set 2017-01-24 10:35:55 -05:00
cache.c
cbfs.c cbfs: Update a function to be static 2016-03-22 12:16:08 -04:00
clk.c
config.c cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
console.c
cplbinfo.c
cpu.c cpu: Add support for microcode version and CPU ID 2016-03-17 10:27:22 +08:00
cramfs.c flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
cros_ec.c cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c 2016-12-02 21:04:48 -07:00
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c common: dfu: saperate the dfu common functionality 2016-09-27 23:30:18 +02:00
diag.c
disk.c cmd: Rework disk.c usage 2016-09-09 15:53:14 -04:00
display.c
dtt.c
echo.c
eeprom.c eeprom: merge cmdline parsing of eeprom commands 2016-05-20 20:42:57 -04:00
efi.c
elf.c bootm: qnx: Disable data cache before booting QNX image 2017-01-20 15:38:05 -05:00
ethsw.c
exit.c
ext2.c
ext4.c
fastboot.c
fat.c cmd/fat: Do not crash on write when <bytes> is not specified 2016-09-23 08:55:58 -04:00
fdc.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
fdt.c cmd/fdt: Make fdt get value endian-safe for single-cell properties 2017-01-14 10:09:46 -07:00
fitupd.c
flash.c flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
fpga.c fpga: Use enum for bitstream command types 2017-01-10 10:21:59 +01:00
fpgad.c
fs_uuid.c
fs.c efi_loader: Pass file path to payload 2016-04-18 17:11:36 -04:00
fuse.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
gettime.c
gpio.c gpio: Report errors when GPIOs cannot be read 2016-03-17 21:27:37 -06:00
gpt.c cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT 2017-01-28 08:48:03 -05:00
hash.c
help.c Drop command-processing code when CONFIG_CMDLINE is disabled 2016-04-01 17:17:40 -04:00
host.c cmd/host: add missing \n in help text 2017-01-20 09:15:24 -05:00
i2c.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
ide.c status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
immap.c
ini.c
io.c
iotrace.c
irq.c
itest.c cmd: replace the cast of the memory access to a fixed bit type in itest 2016-05-27 10:01:07 -04:00
jffs2.c nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
Kconfig cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig 2017-02-08 16:24:28 -05:00
ldrinfo.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
led.c status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
license.c cmd: rework "license" command 2017-02-08 15:56:28 -05:00
load.c flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
log.c
lzmadec.c lzmadec: Use the same type as the lzma call 2016-07-25 12:05:54 -04:00
mac.c
Makefile cmd: rework "license" command 2017-02-08 15:56:28 -05:00
md5sum.c
mdio.c common: miiphyutil: Work and report phy address in hex in mdio cmd 2016-12-02 14:36:02 +01:00
mem.c flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
mfsl.c
mii.c
misc.c cmd: misc: Add support for fractions in sleep 2016-07-25 12:00:05 -04:00
mmc_spi.c dm: block: Rename device number member dev to devnum 2016-03-14 15:34:50 -06:00
mmc.c mmc: add bkops-enable command 2016-12-01 11:09:44 +09:00
mp.c
mtdparts.c mtd: fix compiler warnings 2016-07-24 20:36:29 -05:00
nand.c nand: Fix some more NULL name tests 2016-09-01 20:08:48 -05:00
net.c cmd: net: fix function name in comment 2016-12-27 11:24:18 -05:00
nvedit.c Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
onenand.c cmd/onenand.c: block align warning 2016-10-06 20:57:42 -04:00
otp.c
part.c cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT 2017-01-28 08:48:03 -05:00
pci.c cmd: pci: add option to parse and display BAR information 2016-12-09 08:40:18 -05:00
pcmcia.c
pmic.c
portio.c
pxe.c pxe: Fix pxe boot with FIT image 2016-09-07 08:49:02 -04:00
qfw.c cmd: qfw: do not require default macros when building qfw command 2016-05-23 15:18:00 +08:00
read.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
reginfo.c
regulator.c power: regulator: Introduce regulator_set_value_force function 2016-11-25 10:00:04 -07:00
reiser.c disk: convert CONFIG_DOS_PARTITION to Kconfig 2017-01-28 08:47:34 -05:00
remoteproc.c
sata.c cmd: sata: fix init command return value 2017-01-14 16:46:23 -05:00
scsi.c cmd: scsi: Make private functions static 2016-12-02 14:37:32 +01:00
setexpr.c
sf.c sf: fix sf probe 2016-09-12 08:44:54 -04:00
sha1sum.c
softswitch.c
sound.c
source.c
spi.c cmd: spi: check return value of strdup 2016-03-27 09:12:55 -04:00
spibootldr.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm_test.c cmd/tpm_test: Fix misleading code indentation 2016-12-02 10:37:47 -07:00
tpm.c lib: tpm: Add command to flush resources 2017-02-01 09:02:57 +01:00
trace.c trace: Fix compiler warnings in trace 2016-02-26 08:53:10 -07:00
tsi148.c
ubi.c cmd: ubi: allow '-' to specify maximum volume size 2017-01-26 07:00:25 +01:00
ubifs.c
universe.c
unzip.c dm: blk: Rename get_device() to blk_get_device_by_str() 2016-03-14 15:34:50 -06:00
usb_mass_storage.c dm: usb: Use blk_dread/write() instead of direct calls 2016-07-27 14:15:54 -06:00
usb.c usb: storage: Show number of storage devices detected for DM_USB 2017-01-17 10:26:21 +01:00
version.c
ximg.c
yaffs2.c
zfs.c disk: convert CONFIG_EFI_PARTITION to Kconfig 2017-01-28 08:47:42 -05:00
zip.c