summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-02-28 20:52:01 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-04-03 12:13:32 +0200
commit748b5b34d3d0e67923cac5f8606b7a209e063df6 (patch)
treed6d8402662eb6d604c927215c730482df0bfe7f5 /configs
parentb56052f4ca40d0d8b29fb7bd3be4c104618e4fc8 (diff)
downloadu-boot-748b5b34d3d0e67923cac5f8606b7a209e063df6.tar.gz
sunxi: move the NAND parameters to Kconfig
Move the NAND parameters from defconfig files to Kconfig for SUNXI architecture only. Fort now only the CHIP pro is migrated. It would have been better to convert this defconfig entry to Kconfig for all supported machines/architectures but it has been abandoned due to a fairly high amount of errors reported by the moveconfig.py tool. This is due to defines quite often being multiplications of values/other defines not correctly handled. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/CHIP_pro_defconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig
index 9235e34eda..faaee831ce 100644
--- a/configs/CHIP_pro_defconfig
+++ b/configs/CHIP_pro_defconfig
@@ -4,7 +4,9 @@ CONFIG_MACH_SUN5I=y
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
CONFIG_USB0_VBUS_PIN="PB10"
CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
-CONFIG_SYS_EXTRA_OPTIONS="SYS_NAND_BLOCK_SIZE=0x40000,SYS_NAND_PAGE_SIZE=4096,SYS_NAND_OOBSIZE=256"
+CONFIG_SYS_NAND_BLOCK_SIZE=0x40000
+CONFIG_SYS_NAND_OOBSIZE=0x1000
+CONFIG_SYS_NAND_OOBSIZE=0x100
CONFIG_SPL=y
CONFIG_SPL_I2C_SUPPORT=y
# CONFIG_CMD_FLASH is not set