mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
configs: sama5d2: enable CONFIG_LTO
arm-none-linux-gnueabihf-ld.bfd: u-boot-spl section `__u_boot_list' will not fit in region `.sram' arm-none-linux-gnueabihf-ld.bfd: region `.sram' overflowed by 100 bytes SPL is at limit so to stop seeing above error in built, enable link time optimizations CONFIG_LTO. Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com> Tested-by: Mihai Sain <mihai.sain@microchip.com>
This commit is contained in:
parent
2ac1f5982e
commit
f5b9587449
4 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,7 @@ CONFIG_SPL_FS_FAT=y
|
||||||
CONFIG_SPL_LIBDISK_SUPPORT=y
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
||||||
CONFIG_SYS_LOAD_ADDR=0x22000000
|
CONFIG_SYS_LOAD_ADDR=0x22000000
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
|
CONFIG_LTO=y
|
||||||
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
CONFIG_SD_BOOT=y
|
CONFIG_SD_BOOT=y
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_SPL_FS_FAT=y
|
||||||
CONFIG_SPL_LIBDISK_SUPPORT=y
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
||||||
CONFIG_SYS_LOAD_ADDR=0x22000000
|
CONFIG_SYS_LOAD_ADDR=0x22000000
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
|
CONFIG_LTO=y
|
||||||
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
CONFIG_SD_BOOT=y
|
CONFIG_SD_BOOT=y
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_SPL_FS_FAT=y
|
||||||
CONFIG_SPL_LIBDISK_SUPPORT=y
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
||||||
CONFIG_SYS_LOAD_ADDR=0x22000000
|
CONFIG_SYS_LOAD_ADDR=0x22000000
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
|
CONFIG_LTO=y
|
||||||
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
CONFIG_QSPI_BOOT=y
|
CONFIG_QSPI_BOOT=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
||||||
CONFIG_SPL_SPI=y
|
CONFIG_SPL_SPI=y
|
||||||
CONFIG_SYS_LOAD_ADDR=0x22000000
|
CONFIG_SYS_LOAD_ADDR=0x22000000
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
|
CONFIG_LTO=y
|
||||||
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
CONFIG_SPI_BOOT=y
|
CONFIG_SPI_BOOT=y
|
||||||
|
|
Loading…
Reference in a new issue