diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-04 22:34:31 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-11 19:41:49 (GMT) |
commit | 978f0854da2abaeebe047c24c12c1033de75060a (patch) | |
tree | 165b8b269aa648fcfbdb00e941ee3e298f643956 | |
parent | cb70e6cb8d7a0278b7bcb399948efd4782e11565 (diff) | |
download | u-boot-fsl-qoriq-978f0854da2abaeebe047c24c12c1033de75060a.tar.xz |
Convert CONFIG_CMD_ONENAND to Kconfig
This converts the following to Kconfig:
CONFIG_CMD_ONENAND
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r-- | cmd/Kconfig | 8 | ||||
-rw-r--r-- | configs/igep0020_defconfig | 1 | ||||
-rw-r--r-- | configs/igep0030_defconfig | 1 | ||||
-rw-r--r-- | configs/igep0032_defconfig | 1 | ||||
-rw-r--r-- | configs/s5p_goni_defconfig | 1 | ||||
-rw-r--r-- | configs/smdkc100_defconfig | 1 | ||||
-rw-r--r-- | configs/vct_platinum_onenand_defconfig | 1 | ||||
-rw-r--r-- | configs/vct_platinum_onenand_small_defconfig | 1 | ||||
-rw-r--r-- | configs/vct_platinumavc_onenand_defconfig | 1 | ||||
-rw-r--r-- | configs/vct_platinumavc_onenand_small_defconfig | 1 | ||||
-rw-r--r-- | configs/vct_premium_onenand_defconfig | 1 | ||||
-rw-r--r-- | configs/vct_premium_onenand_small_defconfig | 1 | ||||
-rw-r--r-- | include/config_cmd_all.h | 1 | ||||
-rw-r--r-- | include/configs/exynos4-common.h | 2 | ||||
-rw-r--r-- | include/configs/nokia_rx51.h | 6 | ||||
-rw-r--r-- | include/configs/omap3_igep00x0.h | 2 | ||||
-rw-r--r-- | include/configs/s5p_goni.h | 2 | ||||
-rw-r--r-- | include/configs/smdkc100.h | 2 | ||||
-rw-r--r-- | include/configs/vct.h | 4 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
20 files changed, 19 insertions, 20 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 4d89af4..0d967a7 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -718,6 +718,14 @@ config CMD_MMC_SPI to 20MHz. It is useful since it reduces the amount of protocol code required. +config CMD_ONENAND + bool "onenand - access to onenand device" + help + OneNAND is a brand of NAND ('Not AND' gate) flash which provides + various useful features. This command allows reading, writing, + and erasing blocks. It allso provides a way to show and change + bad blocks, and test the device. + config CMD_PART bool "part" select PARTITION_UUIDS diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig index 8ca5a84..2375f86 100644 --- a/configs/igep0020_defconfig +++ b/configs/igep0020_defconfig @@ -20,6 +20,7 @@ CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y CONFIG_CMD_NAND=y +CONFIG_CMD_ONENAND=y CONFIG_CMD_SPI=y CONFIG_CMD_I2C=y CONFIG_CMD_GPIO=y diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig index 8af6dd5..03da201 100644 --- a/configs/igep0030_defconfig +++ b/configs/igep0030_defconfig @@ -20,6 +20,7 @@ CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y CONFIG_CMD_NAND=y +CONFIG_CMD_ONENAND=y CONFIG_CMD_SPI=y CONFIG_CMD_I2C=y CONFIG_CMD_GPIO=y diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig index dd43330..fb8c925 100644 --- a/configs/igep0032_defconfig +++ b/configs/igep0032_defconfig @@ -19,6 +19,7 @@ CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y CONFIG_CMD_NAND=y +CONFIG_CMD_ONENAND=y CONFIG_CMD_SPI=y CONFIG_CMD_I2C=y CONFIG_CMD_GPIO=y diff --git a/configs/s5p_goni_defconfig b/configs/s5p_goni_defconfig index 9c66a18..0045f5e 100644 --- a/configs/s5p_goni_defconfig +++ b/configs/s5p_goni_defconfig @@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Goni # " # CONFIG_CMD_FLASH is not set CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_ONENAND=y CONFIG_CMD_DFU=y CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_FPGA is not set diff --git a/configs/smdkc100_defconfig b/configs/smdkc100_defconfig index ef8510d..82ba51c 100644 --- a/configs/smdkc100_defconfig +++ b/configs/smdkc100_defconfig @@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="SMDKC100 # " # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_CACHE=y CONFIG_CMD_FAT=y diff --git a/configs/vct_platinum_onenand_defconfig b/configs/vct_platinum_onenand_defconfig index 4c1615c..4c242e8 100644 --- a/configs/vct_platinum_onenand_defconfig +++ b/configs/vct_platinum_onenand_defconfig @@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="$ " # CONFIG_CMD_IMLS is not set CONFIG_CMD_EEPROM=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y CONFIG_CMD_I2C=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set diff --git a/configs/vct_platinum_onenand_small_defconfig b/configs/vct_platinum_onenand_small_defconfig index 20c0863..845833c 100644 --- a/configs/vct_platinum_onenand_small_defconfig +++ b/configs/vct_platinum_onenand_small_defconfig @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="$ " # CONFIG_CMD_LOADB is not set # CONFIG_CMD_LOADS is not set # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y # CONFIG_CMD_ITEST is not set # CONFIG_CMD_SOURCE is not set # CONFIG_CMD_SETEXPR is not set diff --git a/configs/vct_platinumavc_onenand_defconfig b/configs/vct_platinumavc_onenand_defconfig index dfb8f04..2a72614 100644 --- a/configs/vct_platinumavc_onenand_defconfig +++ b/configs/vct_platinumavc_onenand_defconfig @@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="$ " # CONFIG_CMD_IMLS is not set CONFIG_CMD_EEPROM=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y CONFIG_CMD_I2C=y # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_NET is not set diff --git a/configs/vct_platinumavc_onenand_small_defconfig b/configs/vct_platinumavc_onenand_small_defconfig index de7b500..e2f68eb 100644 --- a/configs/vct_platinumavc_onenand_small_defconfig +++ b/configs/vct_platinumavc_onenand_small_defconfig @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="$ " # CONFIG_CMD_LOADB is not set # CONFIG_CMD_LOADS is not set # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y # CONFIG_CMD_ITEST is not set # CONFIG_CMD_SOURCE is not set # CONFIG_CMD_SETEXPR is not set diff --git a/configs/vct_premium_onenand_defconfig b/configs/vct_premium_onenand_defconfig index ba43e0e..39be742 100644 --- a/configs/vct_premium_onenand_defconfig +++ b/configs/vct_premium_onenand_defconfig @@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="$ " # CONFIG_CMD_IMLS is not set CONFIG_CMD_EEPROM=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y CONFIG_CMD_I2C=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set diff --git a/configs/vct_premium_onenand_small_defconfig b/configs/vct_premium_onenand_small_defconfig index cc9998f..6e3a420 100644 --- a/configs/vct_premium_onenand_small_defconfig +++ b/configs/vct_premium_onenand_small_defconfig @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="$ " # CONFIG_CMD_LOADB is not set # CONFIG_CMD_LOADS is not set # CONFIG_CMD_FLASH is not set +CONFIG_CMD_ONENAND=y # CONFIG_CMD_ITEST is not set # CONFIG_CMD_SOURCE is not set # CONFIG_CMD_SETEXPR is not set diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index b3c0d0e..c61951b 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -13,7 +13,6 @@ * Alphabetical list of all possible commands. */ -#define CONFIG_CMD_ONENAND /* OneNAND support */ #define CONFIG_CMD_PCI /* pciinfo */ #define CONFIG_CMD_PCMCIA /* PCMCIA support */ #define CONFIG_CMD_PORTIO /* Port I/O */ diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h index c995f35..9f0131a 100644 --- a/include/configs/exynos4-common.h +++ b/include/configs/exynos4-common.h @@ -20,8 +20,6 @@ /* SD/MMC configuration */ #define CONFIG_MMC_DEFAULT_DEV 0 -#undef CONFIG_CMD_ONENAND - /* TIZEN THOR downloader support */ #define CONFIG_CMD_THOR_DOWNLOAD #define CONFIG_USB_FUNCTION_THOR diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h index a06aec1..6d58927 100644 --- a/include/configs/nokia_rx51.h +++ b/include/configs/nokia_rx51.h @@ -102,12 +102,6 @@ #define CONFIG_CMDLINE_EDITING /* add command line history */ #define CONFIG_AUTO_COMPLETE /* add autocompletion support */ -#ifdef ONENAND_SUPPORT - -#define CONFIG_CMD_ONENAND /* ONENAND support */ - -#endif - #define CONFIG_OMAP3_SPI #define CONFIG_SYS_I2C #define CONFIG_SYS_OMAP24_I2C_SPEED 100000 diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h index 39f1e54..35d46dc 100644 --- a/include/configs/omap3_igep00x0.h +++ b/include/configs/omap3_igep00x0.h @@ -52,8 +52,6 @@ #define CONFIG_USBD_MANUFACTURER "Texas Instruments" #define CONFIG_USBD_PRODUCT_NAME "IGEP" -#define CONFIG_CMD_ONENAND - #ifndef CONFIG_SPL_BUILD /* Environment */ diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 9c00138..eb17580 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -51,8 +51,6 @@ /* PWM */ #define CONFIG_PWM 1 -#define CONFIG_CMD_ONENAND - /* USB Composite download gadget - g_dnl */ #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M #define DFU_DEFAULT_POLL_TIMEOUT 300 diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h index 3e35754..58abac5 100644 --- a/include/configs/smdkc100.h +++ b/include/configs/smdkc100.h @@ -59,8 +59,6 @@ /*********************************************************** * Command definition ***********************************************************/ -#define CONFIG_CMD_ONENAND - #define CONFIG_MTD_DEVICE #define CONFIG_MTD_PARTITIONS diff --git a/include/configs/vct.h b/include/configs/vct.h index 2cb4ab1..e3c3b0e 100644 --- a/include/configs/vct.h +++ b/include/configs/vct.h @@ -105,10 +105,6 @@ #define CONFIG_EHCI_HCD_INIT_AFTER_RESET /* re-init HCD after CMD_RESET */ #endif /* CONFIG_CMD_USB */ -#if defined(CONFIG_VCT_ONENAND) -#define CONFIG_CMD_ONENAND -#endif - /* * BOOTP options */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 90ed096..b2c0fef 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -293,7 +293,6 @@ CONFIG_CM922T_XA10 CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_TAG -CONFIG_CMD_ONENAND CONFIG_CMD_PCA953X CONFIG_CMD_PCA953X_INFO CONFIG_CMD_PCI |