[PATCH] arch/riscv: Remove unused macro in encoding.h

Jimmy Ho jimmy.ho at sifive.com
Mon Sep 15 09:44:27 CEST 2025


From: Greentime Hu <greentime.hu at sifive.com>

This patch remove the unused macro DRAM_BASE.

Signed-off-by: Greentime Hu <greentime.hu at sifive.com>
---
 arch/riscv/include/asm/encoding.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/include/asm/encoding.h b/arch/riscv/include/asm/encoding.h
index 56c5da86e86..ae3e5bce5c1 100644
--- a/arch/riscv/include/asm/encoding.h
+++ b/arch/riscv/include/asm/encoding.h
@@ -95,7 +95,6 @@
 #define DEFAULT_MTVEC		0x00001010
 #define CFG_STRING_ADDR	0x0000100C
 #define EXT_IO_BASE		0x40000000
-#define DRAM_BASE		0x80000000
 
 // page table entry (PTE) fields
 #define PTE_V		0x001 // Valid
-- 
2.39.3



More information about the U-Boot mailing list