Commit fb1bf40838477537fb77bb591335c7aa7f90e8d5
1 parent
b79dadf846
Exists in
v2017.01-smarct4x
and in
37 other branches
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. Signed-off-by: Tom Rini <trini@konsulko.com>
Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff
include/configs/am335x_evm.h
... | ... | @@ -340,6 +340,12 @@ |
340 | 340 | #endif /* CONFIG_MUSB_GADGET */ |
341 | 341 | |
342 | 342 | #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT) |
343 | +/* Remove other SPL modes. */ | |
344 | +#undef CONFIG_SPL_YMODEM_SUPPORT | |
345 | +#undef CONFIG_SPL_NAND_SUPPORT | |
346 | +#undef CONFIG_SPL_MMC_SUPPORT | |
347 | +#define CONFIG_ENV_IS_NOWHERE | |
348 | +#undef CONFIG_ENV_IS_IN_NAND | |
343 | 349 | /* disable host part of MUSB in SPL */ |
344 | 350 | #undef CONFIG_MUSB_HOST |
345 | 351 | /* disable EFI partitions and partition UUID support */ |