aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2021-04-08 22:13:10 -0400
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-05-14 16:20:49 +0800
commit23058052de302af1e5fcc0c22a8dea97b25d61cd (patch)
tree84d9e8fe2b4beaa1084e0c466c8802b6c94977e4 /configs
parent2eebe5b373ffa14671279cdeae1d1eedbfd2b9fb (diff)
downloadu-boot-23058052de302af1e5fcc0c22a8dea97b25d61cd.zip
u-boot-23058052de302af1e5fcc0c22a8dea97b25d61cd.tar.gz
u-boot-23058052de302af1e5fcc0c22a8dea97b25d61cd.tar.bz2
riscv: Enable AI ram on K210
We just need to initialize all the clocks pre-reloc. The clock driver creates a bunch of devices, so we need to increase the pre-reloc malloc arena. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/sipeed_maix_bitm_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/sipeed_maix_bitm_defconfig b/configs/sipeed_maix_bitm_defconfig
index 210848c..bd877cd 100644
--- a/configs/sipeed_maix_bitm_defconfig
+++ b/configs/sipeed_maix_bitm_defconfig
@@ -1,4 +1,5 @@
CONFIG_RISCV=y
+CONFIG_SYS_MALLOC_F_LEN=0x10000
CONFIG_ENV_SIZE=0x1000
CONFIG_ENV_OFFSET=0xfff000
CONFIG_ENV_SECT_SIZE=0x1000
@@ -7,6 +8,7 @@ CONFIG_ARCH_RV64I=y
CONFIG_STACK_SIZE=0x100000
CONFIG_USE_BOOTCOMMAND=y
CONFIG_BOOTCOMMAND="run k210_bootcmd"
+CONFIG_BOARD_EARLY_INIT_F=y
CONFIG_HUSH_PARSER=y
CONFIG_MTDIDS_DEFAULT="nor0=spi3:0"
CONFIG_MTDPARTS_DEFAULT="nor0:1M(u-boot),0x1000@0xfff000(env)"