aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ford2020-06-11 21:19:10 -0500
committerLokesh Vutla2020-06-16 17:00:50 +0530
commitc0a8d6e1e67cc7feee5c9e6c7e8c13bb953734f1 (patch)
tree0a2219b4d2c789ece34f9e23dbcf0a93cb04a22a
parent803e9a1f28b5a0888706eb4082297224873ce71c (diff)
ARM: da850-evm: Remove SPI from SPL when booting from NAND
The da850evm boots from SPI flash while the da850evm_nand_defconfig boots from NAND and these are configs are mutually exclusive. Since there isn't a need for SPI during SPL in the NAND configuration, this patch removes the SPI drivers in SPL while making them still available in U-Boot proper. This should save some code space in SPL. Signed-off-by: Adam Ford <aford173@gmail.com>
-rw-r--r--configs/da850evm_nand_defconfig4
1 files changed, 0 insertions, 4 deletions
diff --git a/configs/da850evm_nand_defconfig b/configs/da850evm_nand_defconfig
index bc2c0a2c254..179a1782c67 100644
--- a/configs/da850evm_nand_defconfig
+++ b/configs/da850evm_nand_defconfig
@@ -9,12 +9,9 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SYS_MALLOC_F_LEN=0x800
CONFIG_ENV_SIZE=0x20000
CONFIG_ENV_OFFSET=0x0
-CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
CONFIG_DM_GPIO=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL=y
-CONFIG_SPL_SPI_FLASH_SUPPORT=y
-CONFIG_SPL_SPI_SUPPORT=y
CONFIG_SPL_TEXT_BASE=0x80000000
CONFIG_SYS_EXTRA_OPTIONS="MAC_ADDR_IN_SPIFLASH"
CONFIG_BOOTDELAY=3
@@ -27,7 +24,6 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SEPARATE_BSS=y
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_SPI_LOAD=y
CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="U-Boot > "
CONFIG_CRC32_VERIFY=y