]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[PATCH] m68knommu: handle non base address 0 memory of M5208EVB board
authorGreg Ungerer <gerg@snapgear.com>
Mon, 7 Nov 2005 04:09:50 +0000 (14:09 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 16:00:46 +0000 (08:00 -0800)
The Freescale M5208EVB ColdFire eval board is one of the few that
doesn't have its DRAM based at address 0. Handle this special case
in the common ColdFire startup code.

Patch originally from Matt Waddel.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68knommu/platform/5307/head.S

index 7f4ba837901f6dfa74dd7e4cb2c64ee8f25f2316..c30c462b99b13830149e30d9dbc389448a8b3da6 100644 (file)
 #define MEM_BASE       0x02000000
 #define VBR_BASE       0x20000000      /* vectors in SRAM */
 #endif
+#if defined(CONFIG_M5208EVB)
+#define MEM_BASE       0x40000000
+#endif
 
 #ifndef MEM_BASE
 #define        MEM_BASE        0x00000000      /* memory base at address 0 */