]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
atmel_nand: Remove undef during SPL_BUILD
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:31 +0000 (10:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:07:03 +0000 (10:07 -0500)
We cannot disable features in SPL in this manner, remove the undef here.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/raw/atmel_nand.c

index 9fbb0b57cf1d2b05e74573d7b2492ce9d1917511..b7e473c598d06374348308bcdae9142c34ea9b35 100644 (file)
 
 #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;