Skip to contentSkip to conversation

am43xx_evm.h: Correct SPL max size

PATCH In review Tom Rini 1 participant 2 messages Jan 20, 2014 – Jan 24, 2014

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 am43xx_evm.h: Correct SPL max size

Upon further inspection of relevant parts of the architecture, the maximum SPL binary size is 220KiB.

Cc Lokesh Vutla <[email protected]>
---
 include/configs/am43xx_evm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/am43xx_evm.h +1 -1
index 4de495a..83431a4 100644
@@ -34,7 +34,7 @@
 
 /* SPL defines. */
 #define CONFIG_SPL_TEXT_BASE		0x40300350
-#define CONFIG_SPL_MAX_SIZE		(0x40337C00 - CONFIG_SPL_TEXT_BASE)
+#define CONFIG_SPL_MAX_SIZE		(220 << 10)	/* 220KB */
 #define CONFIG_SPL_YMODEM_SUPPORT
 
 /* Enabling L2 Cache */
Signature · 1 line
1.7.9.5
author
#1 lore raw
Quoted 5 lines · Tom Rini

Upon further inspection of relevant parts of the architecture, the maximum SPL binary size is 220KiB.

Cc Lokesh Vutla <[email protected]>

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
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/20140124/3a87f774/attachment.pgp>