summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-03-10 15:31:24 -0400
committerTom Rini <trini@ti.com>2014-03-12 16:22:12 -0400
commite3176754173f7c1f97844f76d6c54dd3e89a50b6 (patch)
tree5f0a79111cc36821620baa867423da1580686a7c
parentce6889a9978822172c50c92744f0ff11138e3e37 (diff)
downloadu-boot-imx-e3176754173f7c1f97844f76d6c54dd3e89a50b6.zip
u-boot-imx-e3176754173f7c1f97844f76d6c54dd3e89a50b6.tar.gz
u-boot-imx-e3176754173f7c1f97844f76d6c54dd3e89a50b6.tar.bz2
am335x_evm: Remove SPI SPL from NOR support target
When using the am335x_evm_nor target one is generally expecting to be used in an environment when you want to program the NOR and not a "deployment" type target. In addition this only supports the Beaglebone White with the memory cape and NOR module installed, which precludes the presence of SPI flash. Drop SPI as we were getting close to the binary limit in some cases and slightly over with other toolchains. Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--include/configs/am335x_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 2020e7f..fd6f52c 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -442,6 +442,8 @@
#define CONFIG_SYS_FLASH_BASE (0x08000000)
#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
+/* Reduce SPL size by removing unlikey targets */
+#undef CONFIG_SPL_SPI_SUPPORT
#ifdef CONFIG_NOR_BOOT
#define CONFIG_ENV_IS_IN_FLASH
#define CONFIG_ENV_SECT_SIZE (128 << 10) /* 128 KiB */