mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
sandbox: Increase the pre-relocation memory
This is close to full now, so increase it to avoid problems with adding more devices. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
2
Kconfig
2
Kconfig
@ -126,6 +126,7 @@ config SYS_BOOT_GET_KBD
|
|||||||
config SYS_MALLOC_F
|
config SYS_MALLOC_F
|
||||||
bool "Enable malloc() pool before relocation"
|
bool "Enable malloc() pool before relocation"
|
||||||
default y if DM
|
default y if DM
|
||||||
|
|
||||||
help
|
help
|
||||||
Before relocation, memory is very limited on many platforms. Still,
|
Before relocation, memory is very limited on many platforms. Still,
|
||||||
we can provide a small malloc() pool if needed. Driver model in
|
we can provide a small malloc() pool if needed. Driver model in
|
||||||
@ -136,6 +137,7 @@ config SYS_MALLOC_F_LEN
|
|||||||
hex "Size of malloc() pool before relocation"
|
hex "Size of malloc() pool before relocation"
|
||||||
depends on SYS_MALLOC_F
|
depends on SYS_MALLOC_F
|
||||||
default 0x1000 if AM33XX
|
default 0x1000 if AM33XX
|
||||||
|
default 0x2800 if SANDBOX
|
||||||
default 0x400
|
default 0x400
|
||||||
help
|
help
|
||||||
Before relocation, memory is very limited on many platforms. Still,
|
Before relocation, memory is very limited on many platforms. Still,
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONFIG_SYS_TEXT_BASE=0
|
CONFIG_SYS_TEXT_BASE=0
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
||||||
CONFIG_SANDBOX64=y
|
CONFIG_SANDBOX64=y
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
CONFIG_NR_DRAM_BANKS=1
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONFIG_SYS_TEXT_BASE=0
|
CONFIG_SYS_TEXT_BASE=0
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
CONFIG_NR_DRAM_BANKS=1
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONFIG_SYS_TEXT_BASE=0
|
CONFIG_SYS_TEXT_BASE=0
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
CONFIG_NR_DRAM_BANKS=1
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONFIG_SYS_TEXT_BASE=0
|
CONFIG_SYS_TEXT_BASE=0
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
CONFIG_NR_DRAM_BANKS=1
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
CONFIG_SYS_TEXT_BASE=0
|
CONFIG_SYS_TEXT_BASE=0
|
||||||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
||||||
CONFIG_SPL_SERIAL_SUPPORT=y
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
||||||
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
|
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
|
Reference in New Issue
Block a user