diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-07-23 12:20:46 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:35:16 +0200 |
commit | 91457597e3c95450ac42cf45a4a5fe7da174fd20 (patch) | |
tree | 85da95360fa5620cbe903595d640b4740d77f81b /configs/mx6sabresd_defconfig | |
parent | 971a71e114d00ceee7b486d4599d3c26756109fb (diff) |
mx6sabresd: Reduce overall SPL size
Currently the SPL binary is 67 kB, which leaves only 1 kB of free
internal RAM space.
The following options can be safely removed to save some precious
SPL space:
- CONFIG_SPL_FS_EXT4: u-boot-dtb.img is stored in raw sector via dd
command (at offset 69 kB)
- CONFIG_SPL_I2C_SUPPORT: I2C is not used during SPL
- CONFIG_SPL_OS_BOOT: no need to make Falcon mode supported
by default
After this change the SPL binary size gets down to 51 kB.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'configs/mx6sabresd_defconfig')
-rw-r--r-- | configs/mx6sabresd_defconfig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index 73cb32e291..b2c77ff4da 100644 --- a/configs/mx6sabresd_defconfig +++ b/configs/mx6sabresd_defconfig @@ -23,9 +23,6 @@ CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOUNCE_BUFFER=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_FIT_IMAGE_TINY=y -CONFIG_SPL_FS_EXT4=y -CONFIG_SPL_I2C_SUPPORT=y -CONFIG_SPL_OS_BOOT=y CONFIG_SPL_USB_HOST_SUPPORT=y CONFIG_SPL_USB_GADGET=y CONFIG_SPL_USB_SDP_SUPPORT=y |