aboutsummaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-10-07 09:00:45 -0400
committerTom Rini <trini@konsulko.com>2021-10-07 09:00:45 -0400
commit11a69a9ef3f5eaccdca4dd89c7d8d91bd5b3b904 (patch)
tree75ea296bb71b6f5ab86b82979304576f04caaa66 /common/image.c
parentea67f467a43e4c8852bd1ce1bb75f5dc6c3788d1 (diff)
parent1b2b52f29402b5aaccccadfe4ba11bd3f29bd414 (diff)
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
- Reset improvements, enable coherence manager on ae350, k210 clk improvements, other fixes
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index e199d61a4c..8ac57081fd 100644
--- a/common/image.c
+++ b/common/image.c
@@ -684,7 +684,7 @@ ulong env_get_bootm_low(void)
#if defined(CONFIG_SYS_SDRAM_BASE)
return CONFIG_SYS_SDRAM_BASE;
-#elif defined(CONFIG_ARM) || defined(CONFIG_MICROBLAZE)
+#elif defined(CONFIG_ARM) || defined(CONFIG_MICROBLAZE) || defined(CONFIG_RISCV)
return gd->bd->bi_dram[0].start;
#else
return 0;