Эх сурвалжийг харах

sh: Fix URAM start address on SH7785.

Not all of the SH-X2 URAM blocks are mapped in the same place,
SH7785 happens to map it on the opposite end of the address space
from SH7722, correct the addresses.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 жил өмнө
parent
commit
675bd7804c

+ 1 - 1
arch/sh/kernel/cpu/sh4a/setup-sh7785.c

@@ -351,5 +351,5 @@ void __init plat_irq_setup_pins(int mode)
 void __init plat_mem_setup(void)
 {
 	/* Register the URAM space as Node 1 */
-	setup_bootmem_node(1, 0x055f0000, 0x05610000);
+	setup_bootmem_node(1, 0xe55f0000, 0xe5610000);
 }