From 2fb72968ce491f30b0e09fcd4486ee07b5581b33 Mon Sep 17 00:00:00 2001 From: Jimmy Ho Date: Mon, 10 Mar 2025 09:47:48 +0800 Subject: [PATCH] RISCV: config: Remove CFG_SYS_SDRAM_BASE 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 Reviewed-by: Leo Yu-Chi Liang --- include/configs/sifive-unleashed.h | 1 - include/configs/sifive-unmatched.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/sifive-unleashed.h b/include/configs/sifive-unleashed.h index 2996b375723..cd8d0438ba6 100644 --- a/include/configs/sifive-unleashed.h +++ b/include/configs/sifive-unleashed.h @@ -11,7 +11,6 @@ #include -#define CFG_SYS_SDRAM_BASE 0x80000000 #define RISCV_MMODE_TIMERBASE 0x2000000 #define RISCV_MMODE_TIMEROFF 0xbff8 diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h index 27e0912665b..e0064edc5c9 100644 --- a/include/configs/sifive-unmatched.h +++ b/include/configs/sifive-unmatched.h @@ -11,6 +11,5 @@ #include -#define CFG_SYS_SDRAM_BASE 0x80000000 #endif /* __SIFIVE_UNMATCHED_H */ -- 2.39.5