aboutsummaryrefslogtreecommitdiff
path: root/configs/at91sam9n12ek_nandflash_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-10 23:03:09 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 09:29:08 -0400
commitb340199f828e7d57945785b698ff97469972d1ca (patch)
tree117ba774591d068ff037e4a2e6b1bca39d9fc037 /configs/at91sam9n12ek_nandflash_defconfig
parentabba59f1155aa45daf37c59e248164387482a3c4 (diff)
downloadu-boot-b340199f828e7d57945785b698ff97469972d1ca.zip
u-boot-b340199f828e7d57945785b698ff97469972d1ca.tar.gz
u-boot-b340199f828e7d57945785b698ff97469972d1ca.tar.bz2
spl: Ensure all SPL symbols in Kconfig have some SPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a SPL specific option has at least a direct dependency on SPL. In places where it's clear that we depend on something more specific, use that dependency instead. This means in a very small number of places we can drop redundant dependencies. Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/at91sam9n12ek_nandflash_defconfig')
-rw-r--r--configs/at91sam9n12ek_nandflash_defconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/configs/at91sam9n12ek_nandflash_defconfig b/configs/at91sam9n12ek_nandflash_defconfig
index 18ec990..5ffa294 100644
--- a/configs/at91sam9n12ek_nandflash_defconfig
+++ b/configs/at91sam9n12ek_nandflash_defconfig
@@ -48,9 +48,7 @@ CONFIG_AT91_GPIO=y
CONFIG_GENERIC_ATMEL_MCI=y
CONFIG_MTD=y
CONFIG_NAND_ATMEL=y
-CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER=y
-CONFIG_SYS_NAND_PAGE_SIZE=0x800
-CONFIG_SYS_NAND_OOBSIZE=0x40
+CONFIG_ATMEL_NAND_HW_PMECC=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=30000000
CONFIG_SPI_FLASH_ATMEL=y