diff options
| author | Pali Rohár <[email protected]> | 2022-05-24 10:58:42 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2022-07-21 10:14:04 +0200 |
| commit | 35ed176af24484dbea064266be75aefdc88d79ec (patch) | |
| tree | 2e84fc19f53b8f720ebe503bda03d3937fc2463f /common | |
| parent | daa8857d53a3db97bdf5e0b3b3de0199a09d8917 (diff) | |
arch: mvebu: Disable by default unused peripherals in SPL
SPL on mvebu loads proper U-Boot from custom Marvell kwbimage format and
therefore support for other binary formats is not required to be present in
SPL. Boot source of proper U-Boot is defined by compile time options and
therefore it is not required to enable all possible and unused peripherals
in SPL by default.
This change decrease size of SPL binaries.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/spl/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 908d7d17fda..b8c21f557f0 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -294,6 +294,7 @@ config SPL_BOOTCOUNT_LIMIT config SPL_RAW_IMAGE_SUPPORT bool "Support SPL loading and booting of RAW images" + default n if ARCH_MVEBU default n if (ARCH_MX6 && (SPL_MMC || SPL_SATA)) default y depends on !TI_SECURE_DEVICE @@ -304,6 +305,7 @@ config SPL_RAW_IMAGE_SUPPORT config SPL_LEGACY_IMAGE_FORMAT bool "Support SPL loading and booting of Legacy images" + default n if ARCH_MVEBU default y if !SPL_LOAD_FIT depends on !TI_SECURE_DEVICE help |
