Skip to contentSkip to conversation

csky: Fixup 610 bootup failed

PATCH New [email protected] 1 participant 1 message May 9, 2021

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 csky: Fixup 610 bootup failed

From: Guo Ren <[email protected]>

Actually, there is only one 610 product is in the market(gx6605s).

The soc's DRAM base is 0x10000000, so make it default for 610.

Cc Arnd Bergmann <[email protected]>
---
 arch/csky/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/csky/Kconfig +3 -1
index 8de5b98..4d59d66 100644
@@ -316,7 +316,9 @@ config FORCE_MAX_ZONEORDER
 
 config DRAM_BASE
 	hex "DRAM start addr (the same with memory-section in dts)"
-	default 0x0
+	default 0x10000000	if (CPU_CK610)
+	default 0x0		if (!CPU_CK610)
+
 
 config HOTPLUG_CPU
 	bool "Support for hot-pluggable CPUs"
Signature · 1 line
2.7.4