diff options
author | Sean Anderson <seanga2@gmail.com> | 2023-11-04 16:37:41 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-16 12:43:48 -0500 |
commit | 601b8901e058e524a57c7590020dc68193c2f9aa (patch) | |
tree | f3aa9da534593db75cc0f1b929fd1f9bec38acd4 /README | |
parent | 23c2ebe4d46722e42592808554c7a2f4ad52be2c (diff) | |
download | u-boot-601b8901e058e524a57c7590020dc68193c2f9aa.zip u-boot-601b8901e058e524a57c7590020dc68193c2f9aa.tar.gz u-boot-601b8901e058e524a57c7590020dc68193c2f9aa.tar.bz2 |
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 'README')
-rw-r--r-- | README | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1191,11 +1191,10 @@ The following options need to be configured: Support for a lightweight UBI (fastmap) scanner and loader - CONFIG_SYS_NAND_5_ADDR_CYCLE, CONFIG_SYS_NAND_PAGE_COUNT, - CONFIG_SYS_NAND_PAGE_SIZE, CONFIG_SYS_NAND_OOBSIZE, - CONFIG_SYS_NAND_BLOCK_SIZE, CONFIG_SYS_NAND_BAD_BLOCK_POS, - CFG_SYS_NAND_ECCPOS, CFG_SYS_NAND_ECCSIZE, - CFG_SYS_NAND_ECCBYTES + CONFIG_SYS_NAND_5_ADDR_CYCLE, CONFIG_SYS_NAND_PAGE_SIZE, + CONFIG_SYS_NAND_OOBSIZE, CONFIG_SYS_NAND_BLOCK_SIZE, + CONFIG_SYS_NAND_BAD_BLOCK_POS, CFG_SYS_NAND_ECCPOS, + CFG_SYS_NAND_ECCSIZE, CFG_SYS_NAND_ECCBYTES Defines the size and behavior of the NAND that SPL uses to read U-Boot |