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>
This commit is contained in:
parent
2c065aeeee
commit
991bc16951
|
@ -38,10 +38,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_ATMEL_NAND_HW_PMECC
|
#ifdef CONFIG_ATMEL_NAND_HW_PMECC
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
|
||||||
#undef CONFIG_SYS_NAND_ONFI_DETECTION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct atmel_nand_host {
|
struct atmel_nand_host {
|
||||||
struct pmecc_regs __iomem *pmecc;
|
struct pmecc_regs __iomem *pmecc;
|
||||||
struct pmecc_errloc_regs __iomem *pmerrloc;
|
struct pmecc_errloc_regs __iomem *pmerrloc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user