summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:03:31 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:07:03 -0500
commit991bc169518a000c8d559bac2c2e857bd1969a40 (patch)
tree33b313f2215a2e84bd476d1f12a81169c2f982af /drivers
parent2c065aeeee8c4033f41836eafef0d949c94bf769 (diff)
downloadu-boot-991bc169518a000c8d559bac2c2e857bd1969a40.tar.gz
u-boot-991bc169518a000c8d559bac2c2e857bd1969a40.tar.bz2
u-boot-991bc169518a000c8d559bac2c2e857bd1969a40.zip
atmel_nand: Remove undef during SPL_BUILD
We cannot disable features in SPL in this manner, remove the undef here. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/raw/atmel_nand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/nand/raw/atmel_nand.c b/drivers/mtd/nand/raw/atmel_nand.c
index 9fbb0b57cf..b7e473c598 100644
--- a/drivers/mtd/nand/raw/atmel_nand.c
+++ b/drivers/mtd/nand/raw/atmel_nand.c
@@ -38,10 +38,6 @@
#ifdef CONFIG_ATMEL_NAND_HW_PMECC
-#ifdef CONFIG_SPL_BUILD
-#undef CONFIG_SYS_NAND_ONFI_DETECTION
-#endif
-
struct atmel_nand_host {
struct pmecc_regs __iomem *pmecc;
struct pmecc_errloc_regs __iomem *pmerrloc;