Skip to contentSkip to conversation

riscv: Remove unused define in maix header

PATCH Superseded Sean Anderson 4 participants 4 messages Aug 5, 2020 – Mar 3, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: Remove unused define in maix header

This define was left over from a previous revision, and was never used.

---

 include/configs/sipeed-maix.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/sipeed-maix.h +0 -3
index a46473fc78..1cee8259d7 100644
@@ -18,7 +18,4 @@
 /* Don't relocate into AI ram since it isn't set up yet */
 #define CONFIG_SYS_SDRAM_SIZE (SZ_4M + SZ_2M)
 
-/* For early init */
-#define K210_SYSCTL_BASE 0x50440000
-
 #endif /* CONFIGS_SIPEED_MAIX_H */
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 riscv: Remove unused define in maix header

Quoted 14 lines · Sean Anderson

This define was left over from a previous revision, and was never used.

---

 include/configs/sipeed-maix.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/sipeed-maix.h +0 -0
index a46473fc78..1cee8259d7 100644

include/configs/sipeed-maix.h line 21

Quoted 7 lines
include/configs/sipeed-maix.h +0 -3
@@ -18,7 +18,4 @@
 /* Don't relocate into AI ram since it isn't set up yet */
 #define CONFIG_SYS_SDRAM_SIZE (SZ_4M + SZ_2M)
 
-/* For early init */
-#define K210_SYSCTL_BASE 0x50440000
-
 #endif /* CONFIGS_SIPEED_MAIX_H */

Symbol K210_SYSCTL_BASE does not occur anywhere else.

#3 lore raw

PATCH 1/1 riscv: Remove unused define in maix header

In reply to Sean Anderson
Quoted 15 lines · Sean Anderson

This define was left over from a previous revision, and was never used.

---

 include/configs/sipeed-maix.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/sipeed-maix.h +0 -0
index a46473fc78..1cee8259d7 100644

include/configs/sipeed-maix.h line 21

Quoted 7 lines
include/configs/sipeed-maix.h +0 -3
@@ -18,7 +18,4 @@
 /* Don't relocate into AI ram since it isn't set up yet */
 #define CONFIG_SYS_SDRAM_SIZE (SZ_4M + SZ_2M)
 
-/* For early init */
-#define K210_SYSCTL_BASE 0x50440000
-
 #endif /* CONFIGS_SIPEED_MAIX_H */

Hi Sean,

This patch also conflicts with current master.
Could you please rebase again?

Thanks!
Leo