From f4a5437333e405e967be660430e58fc2355c62c8 Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Mon, 6 Jun 2011 13:33:11 +1000 Subject: m68knommu: merge ColdFire 5206 and 5206e platform code The ColdFire 5206 and 5206e CPU families are almost identical, we can easily merge the platform support code for them. All the differences are dealt with in the current include/asm/5206sim.h. Signed-off-by: Greg Ungerer --- arch/m68k/platform/5206/config.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/m68k/platform/5206/config.c') diff --git a/arch/m68k/platform/5206/config.c b/arch/m68k/platform/5206/config.c index 9c33546..6fa3f80 100644 --- a/arch/m68k/platform/5206/config.c +++ b/arch/m68k/platform/5206/config.c @@ -98,6 +98,12 @@ void m5206_cpu_reset(void) void __init config_BSP(char *commandp, int size) { +#if defined(CONFIG_NETtel) + /* Copy command line from FLASH to local buffer... */ + memcpy(commandp, (char *) 0xf0004000, size); + commandp[size-1] = 0; +#endif /* CONFIG_NETtel */ + mach_reset = m5206_cpu_reset; m5206_timers_init(); m5206_uarts_init(); -- cgit v1.1