From 049756c2fee45bc4bc9054dbe024c3c80584b446 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 26 May 2020 15:06:12 -0400 Subject: 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 Signed-off-by: Tom Rini Acked-by: Stefano Babic --- include/configs/pfla02.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/configs/pfla02.h b/include/configs/pfla02.h index d4a7de7df6..4162a71ca6 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 */ -- cgit