aboutsummaryrefslogtreecommitdiff
path: root/configs/lschlv2_defconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-08-17 21:38:06 +0200
committerStefan Roese <sr@denx.de>2022-08-23 12:40:16 +0200
commit7e3084eda439a0f77cef68f805308c9677dd4743 (patch)
treeb1d36c8225c5f15de5d862b00bca358d073fbeb3 /configs/lschlv2_defconfig
parentcb75d02ab13d71dda92e8925e8ec07d3890815bc (diff)
downloadu-boot-7e3084eda439a0f77cef68f805308c9677dd4743.zip
u-boot-7e3084eda439a0f77cef68f805308c9677dd4743.tar.gz
u-boot-7e3084eda439a0f77cef68f805308c9677dd4743.tar.bz2
board: lsxl: convert to DM_SERIAL
DM_SERIAL needs early malloc. The on-chip RAM is pretty tight, it's only 2kiB, with DM_SERIAL enabled, this doesn't work anymore. Fortunately for us, we don't need the on-chip RAM because the DRAM is already initialized before u-boot starts. Just put the early malloc area there and use the default early malloc size. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/lschlv2_defconfig')
-rw-r--r--configs/lschlv2_defconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/lschlv2_defconfig b/configs/lschlv2_defconfig
index 4e356fb..57e5413 100644
--- a/configs/lschlv2_defconfig
+++ b/configs/lschlv2_defconfig
@@ -8,7 +8,6 @@ CONFIG_CMDLINE_TAG=y
CONFIG_INITRD_TAG=y
CONFIG_SYS_KWD_CONFIG="board/buffalo/lsxl/kwbimage-lschl.cfg"
CONFIG_SYS_TEXT_BASE=0x600000
-CONFIG_SYS_MALLOC_F_LEN=0x400
CONFIG_NR_DRAM_BANKS=2
CONFIG_TARGET_LSXL=y
CONFIG_ENV_SIZE=0x10000
@@ -20,7 +19,7 @@ CONFIG_IDENT_STRING=" LS-CHLv2"
CONFIG_SYS_LOAD_ADDR=0x800000
CONFIG_DISTRO_DEFAULTS=y
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc8012000
+CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x5ff000
CONFIG_HAS_BOARD_SIZE_LIMIT=y
CONFIG_BOARD_SIZE_LIMIT=393216
# CONFIG_BOOTSTD is not set
@@ -67,6 +66,7 @@ CONFIG_MVGBE=y
CONFIG_MII=y
CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
CONFIG_SPI=y
CONFIG_DM_SPI=y