summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent2eebe5b373ffa14671279cdeae1d1eedbfd2b9fb (diff)
downloadu-boot-23058052de302af1e5fcc0c22a8dea97b25d61cd.tar.gz
u-boot-23058052de302af1e5fcc0c22a8dea97b25d61cd.tar.xz
u-boot-23058052de302af1e5fcc0c22a8dea97b25d61cd.zip
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 'include')
-rw-r--r--include/configs/sipeed-maix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/sipeed-maix.h b/include/configs/sipeed-maix.h
index 4c1ff98ec6..0fbe8a5905 100644
--- a/include/configs/sipeed-maix.h
+++ b/include/configs/sipeed-maix.h
@@ -15,8 +15,7 @@
#define CONFIG_SYS_CACHELINE_SIZE 64
#define CONFIG_SYS_SDRAM_BASE 0x80000000
-/* Don't relocate into AI ram since it isn't set up yet */
-#define CONFIG_SYS_SDRAM_SIZE (SZ_4M + SZ_2M)
+#define CONFIG_SYS_SDRAM_SIZE SZ_8M
#ifndef CONFIG_EXTRA_ENV_SETTINGS
#define CONFIG_EXTRA_ENV_SETTINGS \