From 35ed176af24484dbea064266be75aefdc88d79ec Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Tue, 24 May 2022 10:58:42 +0200 Subject: arch: mvebu: Disable by default unused peripherals in SPL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Stefan Roese --- disk/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'disk') diff --git a/disk/Kconfig b/disk/Kconfig index 359af3b27e6..81d8867ed7f 100644 --- a/disk/Kconfig +++ b/disk/Kconfig @@ -60,6 +60,7 @@ config DOS_PARTITION config SPL_DOS_PARTITION bool "Enable MS Dos partition table for SPL" depends on SPL + default n if ARCH_MVEBU default n if ARCH_SUNXI default y if DOS_PARTITION select SPL_PARTITIONS @@ -130,6 +131,7 @@ config EFI_PARTITION_ENTRIES_OFF config SPL_EFI_PARTITION bool "Enable EFI GPT partition table for SPL" depends on SPL + default n if ARCH_MVEBU default n if ARCH_SUNXI default y if EFI_PARTITION select SPL_PARTITIONS -- cgit v1.3.1