diff options
author | Aditya Prayoga <aditya@kobol.io> | 2018-12-05 00:57:23 +0800 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-12-08 16:19:41 +0100 |
commit | 16b6aefafdabe1c8733e876f02f54cdaaad5f409 (patch) | |
tree | 45488f3a4596813d972ab4c4f65463bf8e36caa6 /configs/helios4_defconfig | |
parent | aad723b18f02b2b0048d6d8075a0a4d066400765 (diff) | |
download | u-boot-16b6aefafdabe1c8733e876f02f54cdaaad5f409.zip u-boot-16b6aefafdabe1c8733e876f02f54cdaaad5f409.tar.gz u-boot-16b6aefafdabe1c8733e876f02f54cdaaad5f409.tar.bz2 |
arm: mvebu: helios4: Reduce U-Boot image size
Remove unused I2C support in SPL and use simple_malloc functions to
reduce SPL image size.
Since Helios4 does not have any PCIe allocated on SerDes, remove PCI
support. MTD layer on top of SPI flash is not needed, remove it also.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-By: Dennis Gilmore <dgilmore@redhat.com>
Reviewed-By: Dennis Gilmore <dgilmore@redhat.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/helios4_defconfig')
-rw-r--r-- | configs/helios4_defconfig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/configs/helios4_defconfig b/configs/helios4_defconfig index 69dd774..53995fe 100644 --- a/configs/helios4_defconfig +++ b/configs/helios4_defconfig @@ -8,6 +8,7 @@ CONFIG_TARGET_HELIOS4=y CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=250000000 @@ -20,12 +21,10 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x141 -CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y -CONFIG_CMD_PCI=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y @@ -52,11 +51,9 @@ CONFIG_MMC_SDHCI_MV=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_SPI_FLASH_MTD=y CONFIG_PHY_GIGE=y CONFIG_MVNETA=y CONFIG_MII=y -CONFIG_PCI=y CONFIG_SCSI=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550=y |