mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
7599b53dc1
Now that the SPL structure is organised such that it matches the U-Boot's SPL design, it is possible to use the option of relocating GD to RAM. And since we have GD in RAM, move malloc area to RAM as well. We point the malloc base pointer 1 MiB past U-Boot's load address. We use simple malloc for SPL because it is 3kiB smaller in terms of code size than regular malloc which was used thus far. Signed-off-by: Marek Vasut <marex@denx.de>
19 lines
464 B
Text
19 lines
464 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SOCFPGA=y
|
|
CONFIG_TARGET_SOCFPGA_ARRIA5=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_socdk"
|
|
CONFIG_SPL=y
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_SPL_MMC_SUPPORT=y
|
|
CONFIG_DM_SEQ_ALIAS=y
|
|
CONFIG_SPL_SIMPLE_BUS=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPL_SPI_SUPPORT=y
|
|
CONFIG_SPL_STACK_R=y
|
|
CONFIG_SPL_STACK_R_ADDR=0x00800000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|