mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-24 02:48:51 +09:00
![Marek Vasut](/assets/img/avatar_default.png)
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>
20 lines
464 B
Plaintext
20 lines
464 B
Plaintext
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
|