mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-13 20:36:02 +01:00
configs: socfpga: Add CONFIG_SPL_PAD_TO
Add CONFIG_SPL_PAD_TO for Gen5 and Arria 10. CONFIG_SPL_PAD_TO is set to size of OCRAM. This is preparation for image padding change in socfpgaimage. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
This commit is contained in:
parent
bcf33fac64
commit
53b59290c5
@ -22,8 +22,10 @@
|
|||||||
#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
|
#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0xFFFF0000
|
#define CONFIG_SYS_INIT_RAM_ADDR 0xFFFF0000
|
||||||
#define CONFIG_SYS_INIT_RAM_SIZE SOCFPGA_PHYS_OCRAM_SIZE
|
#define CONFIG_SYS_INIT_RAM_SIZE SOCFPGA_PHYS_OCRAM_SIZE
|
||||||
|
#define CONFIG_SPL_PAD_TO 0x10000
|
||||||
#elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
|
#elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0xFFE00000
|
#define CONFIG_SYS_INIT_RAM_ADDR 0xFFE00000
|
||||||
|
#define CONFIG_SPL_PAD_TO 0x40000
|
||||||
/* SPL memory allocation configuration, this is for FAT implementation */
|
/* SPL memory allocation configuration, this is for FAT implementation */
|
||||||
#ifndef CONFIG_SYS_SPL_MALLOC_SIZE
|
#ifndef CONFIG_SYS_SPL_MALLOC_SIZE
|
||||||
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x10000
|
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x10000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user