summaryrefslogtreecommitdiff
path: root/configs/sama5d3xek_nandflash_defconfig
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-11-04 16:37:41 -0400
committerTom Rini <trini@konsulko.com>2023-11-16 12:43:48 -0500
commit601b8901e058e524a57c7590020dc68193c2f9aa (patch)
treef3aa9da534593db75cc0f1b929fd1f9bec38acd4 /configs/sama5d3xek_nandflash_defconfig
parent23c2ebe4d46722e42592808554c7a2f4ad52be2c (diff)
downloadu-boot-601b8901e058e524a57c7590020dc68193c2f9aa.tar.gz
u-boot-601b8901e058e524a57c7590020dc68193c2f9aa.tar.bz2
u-boot-601b8901e058e524a57c7590020dc68193c2f9aa.zip
nand: Calculate SYS_NAND_BLOCK_PAGES (neeĢ SYS_NAND_PAGE_COUNT) automatically
Contrary to what the help message says, this is the number of pages per block. Calculate it automatically based on SYS_NAND_BLOCK_SIZE and SYS_NAND_PAGE_SIZE. To better reflect its semantics, rename it to SYS_NAND_BLOCK_PAGES. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'configs/sama5d3xek_nandflash_defconfig')
-rw-r--r--configs/sama5d3xek_nandflash_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/sama5d3xek_nandflash_defconfig b/configs/sama5d3xek_nandflash_defconfig
index 6278a6c68a..d96bb91e65 100644
--- a/configs/sama5d3xek_nandflash_defconfig
+++ b/configs/sama5d3xek_nandflash_defconfig
@@ -90,7 +90,6 @@ CONFIG_PMECC_CAP=4
CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
CONFIG_SYS_NAND_ONFI_DETECTION=y
-CONFIG_SYS_NAND_PAGE_COUNT=0x40
CONFIG_SYS_NAND_PAGE_SIZE=0x800
CONFIG_SYS_NAND_OOBSIZE=0x40
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y