]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SAMSUNG_ONENAND to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 15 Jun 2022 16:03:50 +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_SAMSUNG_ONENAND

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
configs/s5p_goni_defconfig
configs/s5pc210_universal_defconfig
configs/smdkc100_defconfig
drivers/mtd/Kconfig
include/configs/s5p_goni.h
include/configs/s5pc210_universal.h
include/configs/smdkc100.h

index 4d4005de1a485b9ac71bf3f3f806d52c6ad2ab61..b5f3ae26b67377d33ca2b5b5fb562b100488bc7d 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_DM_I2C_GPIO=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_MTD=y
+CONFIG_SAMSUNG_ONENAND=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_PMIC_MAX8998=y
 CONFIG_PWM_S5P=y
index af7fef58a601675b124d469adcdabdd1bcbe90f3..a66ae7dec9b6363f465e030d195ecd9e0e90b98e 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_MTD=y
+CONFIG_SAMSUNG_ONENAND=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_PMIC_MAX8998=y
 CONFIG_SOFT_SPI=y
index 8c89c39c9e2f05ce8fae27387736036a5aabb47f..5f2ab44d4042c0d628a64d19ebcfc1bc250d29b7 100644 (file)
@@ -36,6 +36,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_ONENAND=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
+CONFIG_SAMSUNG_ONENAND=y
 CONFIG_SMC911X=y
 CONFIG_SMC911X_BASE=0x98800300
 CONFIG_PWM_S5P=y
index d0ab7c18c64909a4d68b2f6fefeb61d4a36579d5..3d1f6e43fd526a0e56343470f7105fdd433b33d8 100644 (file)
@@ -168,6 +168,9 @@ config STM32_FLASH
         This is the driver of embedded flash for some STMicroelectronics
         STM32 MCU.
 
+config SAMSUNG_ONENAND
+       bool "Samsung OneNAND driver support"
+
 config USE_SYS_MAX_FLASH_BANKS
        bool "Enable Max number of Flash memory banks"
        help
index d9eeec48a0ddc485ee9a7b430074dba4a7c3edb6..ed4f55a4323d683648dbb99784f1422495a38a8b 100644 (file)
 #define CONFIG_MMC_DEFAULT_DEV 0
 
 #define CONFIG_USE_ONENAND_BOARD_INIT
-#define CONFIG_SAMSUNG_ONENAND         1
 #define CONFIG_SYS_ONENAND_BASE                0xB0000000
 
 #define CONFIG_USB_GADGET_DWC2_OTG_PHY
index ab4fe6b460245e8d8a1c70cb3197fd54e99cf844..cbc941afb9ddcadbd33031872adf8f8030b13c58 100644 (file)
@@ -88,7 +88,6 @@
        "opts=always_resume=1"
 
 #define CONFIG_USE_ONENAND_BOARD_INIT
-#define CONFIG_SAMSUNG_ONENAND
 #define CONFIG_SYS_ONENAND_BASE                0x0C000000
 
 #define CONFIG_USB_GADGET_DWC2_OTG_PHY
index 995623e9a6fed95cd8f43e8602d2ae1bdbbdcea4..4199f2bc8e61322d7252e016b0023e582d9b0921 100644 (file)
@@ -91,7 +91,6 @@
  */
 
 #define CONFIG_USE_ONENAND_BOARD_INIT
-#define CONFIG_SAMSUNG_ONENAND         1
 #define CONFIG_SYS_ONENAND_BASE                0xE7100000
 
 /*