m68knommu: merge ColdFire 5206 and 5206e platform code
PATCH 1/1 m68knommu: merge ColdFire 5206 and 5206e platform code
From: Greg Ungerer <[email protected]>
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 <[email protected]>
--- arch/m68k/Makefile_no | 2 +- arch/m68k/platform/5206/config.c | 6 ++ arch/m68k/platform/5206e/Makefile | 18 ----- arch/m68k/platform/5206e/config.c | 127 ------------------------------------- arch/m68k/platform/5206e/gpio.c | 49 -------------- 5 files changed, 7 insertions(+), 195 deletions(-) delete mode 100644 arch/m68k/platform/5206e/Makefile delete mode 100644 arch/m68k/platform/5206e/config.c delete mode 100644 arch/m68k/platform/5206e/gpio.c
arch/m68k/Makefile_no +1 -1
@@ -13,7 +13,7 @@ platform-$(CONFIG_M68EZ328) := 68EZ328 platform-$(CONFIG_M68VZ328) := 68VZ328 platform-$(CONFIG_M68360) := 68360 platform-$(CONFIG_M5206) := 5206 -platform-$(CONFIG_M5206e) := 5206e +platform-$(CONFIG_M5206e) := 5206 platform-$(CONFIG_M520x) := 520x platform-$(CONFIG_M523x) := 523x platform-$(CONFIG_M5249) := 5249
arch/m68k/platform/5206/config.c +6 -0
@@ -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 ();
arch/m68k/platform/5206e/Makefile deleted +0 -18
@@ -1,18 +0,0 @@ -# -# Makefile for the m68knommu linux kernel. -# - -# -# If you want to play with the HW breakpoints then you will -# need to add define this, which will give you a stack backtrace -# on the console port whenever a DBG interrupt occurs. You have to -# set up you HW breakpoints to trigger a DBG interrupt: -# -# ccflags-y := -DTRAP_DBG_INTERRUPT -# asflags-y := -DTRAP_DBG_INTERRUPT -# - -asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 - -obj-y := config.o gpio.o -
arch/m68k/platform/5206e/config.c deleted +0 -127
127 lines not on this page · raw message
arch/m68k/platform/5206e/gpio.c deleted +0 -49
49 lines not on this page · raw message
Signature · 9 lines
1.7.0.4 _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev