提交 5b3d98bb 编写于 作者: G Greg Ungerer 提交者: Linus Torvalds

[PATCH] m68knommu: handle non base address 0 memory of M5208EVB board

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: NGreg Ungerer <gerg@uclinux.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f15bf19b
...@@ -113,6 +113,9 @@ ...@@ -113,6 +113,9 @@
#define MEM_BASE 0x02000000 #define MEM_BASE 0x02000000
#define VBR_BASE 0x20000000 /* vectors in SRAM */ #define VBR_BASE 0x20000000 /* vectors in SRAM */
#endif #endif
#if defined(CONFIG_M5208EVB)
#define MEM_BASE 0x40000000
#endif
#ifndef MEM_BASE #ifndef MEM_BASE
#define MEM_BASE 0x00000000 /* memory base at address 0 */ #define MEM_BASE 0x00000000 /* memory base at address 0 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册