Commit dc80373299aec757f6dbd3bf170d91aa3f0dce7a
Committed by
Jaehoon Chung
1 parent
49f89252ed
Exists in
smarc_8mq_lf_v2020.04
and in
18 other branches
am335x_hs_evm: Trim options in SPL to reduce binary size
The am335x_hs_evm runs into size constraint problems at times with various toolchains as changes come in due to the config have a large number of options in SPL (to showcase what is possible) while also having rather constrained binary limits. Gain some of this room back by lowering the loglevel, disabling HW partition support and switching over to the tiny FIT image support. Cc: Andrew F. Davis <afd@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> --- I'd really appreciate a run-time test of this patch if at all possible as I'm a little worried about TINY_FIT being incompatible with all of the security options. Thanks!
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
configs/am335x_hs_evm_defconfig
... | ... | @@ -13,10 +13,12 @@ |
13 | 13 | CONFIG_FIT_IMAGE_POST_PROCESS=y |
14 | 14 | CONFIG_SPL_LOAD_FIT=y |
15 | 15 | CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y |
16 | +CONFIG_LOGLEVEL=3 | |
16 | 17 | CONFIG_SYS_CONSOLE_INFO_QUIET=y |
17 | 18 | CONFIG_VERSION_VARIABLE=y |
18 | 19 | CONFIG_ARCH_MISC_INIT=y |
19 | 20 | CONFIG_SPL=y |
21 | +CONFIG_SPL_FIT_IMAGE_TINY=y | |
20 | 22 | # CONFIG_SPL_ENV_SUPPORT is not set |
21 | 23 | # CONFIG_SPL_EXT_SUPPORT is not set |
22 | 24 | CONFIG_SPL_MTD_SUPPORT=y |
... | ... | @@ -37,6 +39,7 @@ |
37 | 39 | CONFIG_DM_I2C=y |
38 | 40 | CONFIG_MISC=y |
39 | 41 | CONFIG_DM_MMC=y |
42 | +# CONFIG_MMC_HW_PARTITIONING is not set | |
40 | 43 | CONFIG_MMC_OMAP_HS=y |
41 | 44 | CONFIG_NAND=y |
42 | 45 | CONFIG_SPI_FLASH=y |
... | ... | @@ -60,6 +63,7 @@ |
60 | 63 | CONFIG_USB_GADGET_PRODUCT_NUM=0xd022 |
61 | 64 | CONFIG_USB_GADGET_DOWNLOAD=y |
62 | 65 | CONFIG_USB_ETHER=y |
66 | +CONFIG_SPL_TINY_MEMSET=y | |
63 | 67 | CONFIG_RSA=y |
64 | 68 | CONFIG_LZO=y |