Skip to contentSkip to conversation

am335x_evm_usbspl: Remove other SPL modes

PATCH New Tom Rini 1 participant 2 messages Mar 9, 2015 – Mar 15, 2015

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 am335x_evm_usbspl: Remove other SPL modes

The purpose of this build target is to do SPL over USB RNDIS. We remove YMODEM, MMC and NAND (and re-set ENV to be built-in) as when those are needed we can use the other build targets. This brings us well under size limit again.

---
 include/configs/am335x_evm.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/configs/am335x_evm.h +6 -0
index f1c270c..a87059c 100644
@@ -340,6 +340,12 @@
 #endif /* CONFIG_MUSB_GADGET */
 
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
+/* Remove other SPL modes. */
+#undef CONFIG_SPL_YMODEM_SUPPORT
+#undef CONFIG_SPL_NAND_SUPPORT
+#undef CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_IS_IN_NAND
 /* disable host part of MUSB in SPL */
 #undef CONFIG_MUSB_HOST
 /* disable EFI partitions and partition UUID support */
Signature · 1 line
2.1.4
author
#1 lore raw

PATCH 1/1 am335x_evm_usbspl: Remove other SPL modes

Quoted 5 lines · Tom Rini

The purpose of this build target is to do SPL over USB RNDIS. We remove YMODEM, MMC and NAND (and re-set ENV to be built-in) as when those are needed we can use the other build targets. This brings us well under size limit again.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150315/1d3cf021/attachment.sig>