mx6sabresd: Reduce overall SPL size
authorFabio Estevam <festevam@gmail.com>
Tue, 23 Jul 2019 15:20:46 +0000 (12:20 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit91457597e3c95450ac42cf45a4a5fe7da174fd20
tree85da95360fa5620cbe903595d640b4740d77f81b
parent971a71e114d00ceee7b486d4599d3c26756109fb
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>
configs/mx6sabresd_defconfig