aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-26 15:06:12 -0400
committerTom Rini <trini@konsulko.com>2020-06-04 15:05:45 -0400
commit049756c2fee45bc4bc9054dbe024c3c80584b446 (patch)
tree4074e60c0cb725d61fee8ab8bedde597177af62b /include
parent4cc24aeaf420f33f7ee92f76e025a86fc9aaefec (diff)
downloadu-boot-049756c2fee45bc4bc9054dbe024c3c80584b446.zip
u-boot-049756c2fee45bc4bc9054dbe024c3c80584b446.tar.gz
u-boot-049756c2fee45bc4bc9054dbe024c3c80584b446.tar.bz2
pfla02: Rework excluding NAND from SPL
Rather than only enable CONFIG_CMD_NAND for non-SPL builds, move the CMD options to defconfig and rework the guards to not try and call the function in SPL builds. Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/pfla02.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/pfla02.h b/include/configs/pfla02.h
index d4a7de7..4162a71 100644
--- a/include/configs/pfla02.h
+++ b/include/configs/pfla02.h
@@ -41,15 +41,11 @@
#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 0 */
#define CONFIG_SYS_I2C_SPEED 100000
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_CMD_NAND
/* Enable NAND support */
-#define CONFIG_CMD_NAND_TRIMFFS
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE 0x40000000
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
#define CONFIG_SYS_NAND_ONFI_DETECTION
-#endif
/* DMA stuff, needed for GPMI/MXS NAND support */