aboutsummaryrefslogtreecommitdiff
path: root/configs/sama5d4_xplained_nandflash_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-22 14:50:29 -0400
committerTom Rini <trini@konsulko.com>2021-10-06 09:16:23 -0400
commita0de075392fef8eb2d653a1fb54e7eb644b5353a (patch)
tree3d0ee5134e9d0cd621a790f141148878abe812f3 /configs/sama5d4_xplained_nandflash_defconfig
parentccdc7cfbdc3c3b35434c41df7f2abdd1d6665714 (diff)
downloadu-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.zip
u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.tar.gz
u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.tar.bz2
Convert CONFIG_SPL_NAND_LOAD et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_NAND_LOAD CONFIG_SYS_NAND_BLOCK_SIZE CONFIG_SYS_NAND_PAGE_SIZE CONFIG_SYS_NAND_OOBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/sama5d4_xplained_nandflash_defconfig')
-rw-r--r--configs/sama5d4_xplained_nandflash_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/sama5d4_xplained_nandflash_defconfig b/configs/sama5d4_xplained_nandflash_defconfig
index e642409..94a2e8e 100644
--- a/configs/sama5d4_xplained_nandflash_defconfig
+++ b/configs/sama5d4_xplained_nandflash_defconfig
@@ -66,6 +66,9 @@ CONFIG_MTD=y
CONFIG_NAND_ATMEL=y
CONFIG_PMECC_CAP=8
CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
+CONFIG_SYS_NAND_BLOCK_SIZE=0x40000
+CONFIG_SYS_NAND_PAGE_SIZE=0x1000
+CONFIG_SYS_NAND_OOBSIZE=0xe0
CONFIG_DM_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=30000000
CONFIG_SPI_FLASH_ATMEL=y