RISCV: config: Remove CFG_SYS_SDRAM_BASE
authorJimmy Ho <jimmy.ho@sifive.com>
Mon, 10 Mar 2025 01:47:48 +0000 (09:47 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 25 Mar 2025 08:19:07 +0000 (16:19 +0800)
Remove CFG_SYS_SDRAM_BASE so that we can get DRAM base
from dt instead of compile time config.
Removing this config helps the u-boot more portable.

Signed-off-by: Jimmy Ho <jimmy.ho@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
include/configs/sifive-unleashed.h
include/configs/sifive-unmatched.h

index 2996b37..cd8d043 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <linux/sizes.h>
 
-#define CFG_SYS_SDRAM_BASE             0x80000000
 
 #define RISCV_MMODE_TIMERBASE          0x2000000
 #define RISCV_MMODE_TIMEROFF           0xbff8
index 27e0912..e0064ed 100644 (file)
@@ -11,6 +11,5 @@
 
 #include <linux/sizes.h>
 
-#define CFG_SYS_SDRAM_BASE             0x80000000
 
 #endif /* __SIFIVE_UNMATCHED_H */