]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_USE_ONENAND_BOARD_INIT to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 15 Jun 2022 16:03:51 +0000 (12:03 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:03:01 +0000 (17:03 -0400)
This converts the following to Kconfig:
   CONFIG_USE_ONENAND_BOARD_INIT

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig
configs/igep00x0_defconfig
configs/s5p_goni_defconfig
configs/smdkc100_defconfig
include/configs/omap3_igep00x0.h
include/configs/s5p_goni.h
include/configs/s5pc210_universal.h
include/configs/smdkc100.h

index ad36ae63c659f45f196fd93bff93b9891c1300fb..bb956e3307501663484ccc10a1af39d29a7e1f45 100644 (file)
@@ -1298,6 +1298,10 @@ config CMD_ONENAND
          and erasing blocks. It allso provides a way to show and change
          bad blocks, and test the device.
 
+config USE_ONENAND_BOARD_INIT
+       bool "Call onenand_board_init() in the onenand command"
+       depends on CMD_ONENAND
+
 config CMD_OSD
        bool "osd"
        help
index 00f0a670c2b4f70656bc95052d4ef131e8ba08f2..17c97ac27f7969c1fc3f7d895256c8bb85f85c66 100644 (file)
@@ -52,6 +52,7 @@ CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_ONENAND=y
+CONFIG_USE_ONENAND_BOARD_INIT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_MTDPARTS=y
index b5f3ae26b67377d33ca2b5b5fb562b100488bc7d..17bd8424da24d8e431cd0cca31472b23b2422f90 100644 (file)
@@ -32,6 +32,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_ONENAND=y
+CONFIG_USE_ONENAND_BOARD_INIT=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
index 5f2ab44d4042c0d628a64d19ebcfc1bc250d29b7..1ed3a8cd3a003fd19e5c964128eaf7bdcfdc3529 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_SYS_CBSIZE=256
 CONFIG_SYS_PBSIZE=384
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_ONENAND=y
+CONFIG_USE_ONENAND_BOARD_INIT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_FAT=y
index 6be214753f1b00bf1cf1a50b2c967c19f2cee9dd..97f47ea5b710fd0a3fa12e3bee32dd3cf9976f4c 100644 (file)
@@ -66,7 +66,6 @@
        BOOTENV
 
 /* OneNAND config */
-#define CONFIG_USE_ONENAND_BOARD_INIT
 #define CONFIG_SYS_ONENAND_BASE                ONENAND_MAP
 #define CONFIG_SYS_ONENAND_BLOCK_SIZE  (128*1024)
 
index ed4f55a4323d683648dbb99784f1422495a38a8b..8208f14e09e0e9b0c9aeabf7a6780b55e7593ca8 100644 (file)
 /* FLASH and environment organization */
 #define CONFIG_MMC_DEFAULT_DEV 0
 
-#define CONFIG_USE_ONENAND_BOARD_INIT
 #define CONFIG_SYS_ONENAND_BASE                0xB0000000
 
 #define CONFIG_USB_GADGET_DWC2_OTG_PHY
index cbc941afb9ddcadbd33031872adf8f8030b13c58..c51ff5718cf249d7ec9d3ca50c9db7b99944638e 100644 (file)
@@ -87,7 +87,6 @@
        "mmcrootpart=3\0" \
        "opts=always_resume=1"
 
-#define CONFIG_USE_ONENAND_BOARD_INIT
 #define CONFIG_SYS_ONENAND_BASE                0x0C000000
 
 #define CONFIG_USB_GADGET_DWC2_OTG_PHY
index 4199f2bc8e61322d7252e016b0023e582d9b0921..1395b8dfe38b438663a9e85a226ef3bd42295dda 100644 (file)
@@ -90,7 +90,6 @@
  * Boot configuration
  */
 
-#define CONFIG_USE_ONENAND_BOARD_INIT
 #define CONFIG_SYS_ONENAND_BASE                0xE7100000
 
 /*