diff mbox series

[1/2] config: xea: Disable support for boot methods EXTLINUX and VBE

Message ID 20230712102047.3750772-1-lukma@denx.de
State Accepted
Commit 5386aefb6da2ade3354852e7bff9433634ac16fc
Delegated to: Stefano Babic
Headers show
Series [1/2] config: xea: Disable support for boot methods EXTLINUX and VBE | expand

Commit Message

Lukasz Majewski July 12, 2023, 10:20 a.m. UTC
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.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 configs/imx28_xea_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic July 12, 2023, 1:40 p.m. UTC | #1
> 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.
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig
index c6c6a03245..a174bdb939 100644
--- a/configs/imx28_xea_defconfig
+++ b/configs/imx28_xea_defconfig
@@ -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"