* [U-Boot] [PATCH] am335x_evm: Remove SPI SPL from NOR support target
@ 2014-03-10 19:31 Tom Rini
2014-03-12 20:04 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2014-03-10 19:31 UTC (permalink / raw)
To: u-boot
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>
---
include/configs/am335x_evm.h | 2 ++
1 file changed, 2 insertions(+)
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 */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] am335x_evm: Remove SPI SPL from NOR support target
2014-03-10 19:31 [U-Boot] [PATCH] am335x_evm: Remove SPI SPL from NOR support target Tom Rini
@ 2014-03-12 20:04 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-03-12 20:04 UTC (permalink / raw)
To: u-boot
On Mon, Mar 10, 2014 at 03:31:24PM -0400, Tom Rini wrote:
> 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>
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140312/366baacf/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-12 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 19:31 [U-Boot] [PATCH] am335x_evm: Remove SPI SPL from NOR support target Tom Rini
2014-03-12 20:04 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox