summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-13 01:36:44 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:05:38 +0300
commit60db32502c7f5d54c4cd4e485b95204166a83678 (patch)
tree710db388997d5100fd097a14481837ef45373a8d /drivers
parent50493dd1f9f56097721c043fb7bd55c4cb2cc5e4 (diff)
downloadu-boot-60db32502c7f5d54c4cd4e485b95204166a83678.tar.xz
Convert CONFIG_SYS_NAND_HW_ECC_OOBFIRST to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_HW_ECC_OOBFIRST Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/raw/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 48a7507c64..49b7a4b04b 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -712,6 +712,11 @@ config SPL_NAND_SIMPLE
help
Support for NAND boot using simple NAND drivers that
expose the cmd_ctrl() interface.
+
+config SYS_NAND_HW_ECC_OOBFIRST
+ bool "In SPL, read the OOB first and then the data from NAND"
+ depends on SPL_NAND_SIMPLE
+
endif
endif # if NAND