Skip to content

Commit

Permalink
sh: Fix URAM start address on SH7785.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Sep 27, 2007
1 parent cb7af21 commit 675bd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/cpu/sh4a/setup-sh7785.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 675bd78

Please sign in to comment.