From: Abel Vesa Date: Fri, 1 Feb 2019 16:40:25 +0000 (+0000) Subject: configs: mx6sabresd: Reduce SPL size by disabling DOS, EXT and EFI support X-Git-Tag: v2019.04-rc2~9^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c2a3d261f4aa0b97e623469459460e184b3c878e;p=oweals%2Fu-boot.git configs: mx6sabresd: Reduce SPL size by disabling DOS, EXT and EFI support With DM and FIT enabled in SPL, there is an sram overflow. By disabling CONFIG_SPL_DOS_PARTITION, CONFIG_SPL_EXT_SUPPORT and CONFIG_SPL_EFI_PARTITION, we get to keep the 'one binary to fit all' for imx6[q|qp|dl] on sabresd since the final SPL image is now under 64KB. Signed-off-by: Abel Vesa Reviewed-by: Fabio Estevam --- diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index 80c01f2ed9..bd2d4eeca9 100644 --- a/configs/mx6sabresd_defconfig +++ b/configs/mx6sabresd_defconfig @@ -53,6 +53,8 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_EFI_PARTITION=y +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"