config: xea: Disable support for boot methods EXTLINUX and VBE
PATCH 1/2 config: xea: Disable support for boot methods EXTLINUX and VBE
The XEA system (imx287 based) is not using support for EXTLINUX and VBE. As those configuration options have been enabled by default with modern Kconfig it is safe to explicitly disable them.
After that change the u-boot.img size has been reduced by ~16 KiB.
--- configs/imx28_xea_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/imx28_xea_defconfig +2 -0
@@ -29,6 +29,8 @@ CONFIG_SYS_LOAD_ADDR=0x42000000 CONFIG_SPL_PAYLOAD="u-boot.img" CONFIG_FIT=y CONFIG_TIMESTAMP=y +# CONFIG_BOOTMETH_EXTLINUX is not set +# CONFIG_BOOTMETH_VBE is not set CONFIG_OF_BOARD_SETUP=y CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyAMA0,115200n8"
Signature · 1 line
2.30.2
PATCH 2/2 config: xea: Disable support for FAT file system
On the XEA (imx287) system the FAT file system is not used neither in SPL nor u-boot proper.
Hence, to save ~6KiB of u-boot.img size - it has been disabled.
--- configs/imx28_xea_defconfig | 1 - 1 file changed, 1 deletion(-)
configs/imx28_xea_defconfig +0 -1
@@ -123,5 +123,4 @@ CONFIG_DM_SERIAL=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MXS_SPI=y -CONFIG_FS_FAT=y # CONFIG_SPL_OF_LIBFDT is not set
Signature · 1 line
2.30.2
PATCH 2/2 config: xea: Disable support for FAT file system
Quoted 4 lines
On the XEA (imx287) system the FAT file system is not used neither in SPL nor u-boot proper.
Hence, to save ~6KiB of u-boot.img size - it has been disabled.Signed-off-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
PATCH 1/2 config: xea: Disable support for boot methods EXTLINUX and VBE
In reply to Lukasz MajewskiQuoted 5 lines
The XEA system (imx287 based) is not using support for EXTLINUX and VBE. As those configuration options have been enabled by default with modern
Kconfigit is safe to explicitly disable them.
After that change the u-boot.img size has been reduced by ~16 KiB.Signed-off-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================