Platform code merge for 68000 core cpus (part2)
PATCH 1/1 Platform code merge for 68000 core cpus (part2)
Hi Greg,
I'm sending the patch for the 68000 core code merge to add in the 'for-next' branch.
Regards,
Luis Alves
---
arch/m68k/Makefile | 6 +-
arch/m68k/platform/68000/Makefile | 18 ++
.../{68VZ328/bootlogo.h => 68000/bootlogo-vz.h} | 0
arch/m68k/platform/{68328 => 68000}/bootlogo.h | 0
arch/m68k/platform/{68328 => 68000}/entry.S | 0
arch/m68k/platform/68000/head.S | 240 ++++++++++++++++++++
arch/m68k/platform/{68328 => 68000}/ints.c | 2 +-
.../platform/{68328/config.c => 68000/m68328.c} | 2 +-
.../{68EZ328/config.c => 68000/m68EZ328.c} | 2 +-
.../{68VZ328/config.c => 68000/m68VZ328.c} | 4 +-
arch/m68k/platform/{68328 => 68000}/romvec.S | 2 +-
arch/m68k/platform/{68328 => 68000}/timers.c | 2 +-
arch/m68k/platform/68328/Makefile | 21 --
arch/m68k/platform/68328/head-de2.S | 128 -----------
arch/m68k/platform/68328/head-pilot.S | 207 -----------------
arch/m68k/platform/68328/head-ram.S | 141 ------------
arch/m68k/platform/68328/head-rom.S | 105 ---------
arch/m68k/platform/68EZ328/Makefile | 5 -
arch/m68k/platform/68VZ328/Makefile | 5 -
19 files changed, 267 insertions(+), 623 deletions(-)
create mode 100644 arch/m68k/platform/68000/Makefile
rename arch/m68k/platform/{68VZ328/bootlogo.h => 68000/bootlogo-vz.h} (100%)
rename arch/m68k/platform/{68328 => 68000}/bootlogo.h (100%)
rename arch/m68k/platform/{68328 => 68000}/entry.S (100%)
create mode 100644 arch/m68k/platform/68000/head.S
rename arch/m68k/platform/{68328 => 68000}/ints.c (98%)
rename arch/m68k/platform/{68328/config.c => 68000/m68328.c} (97%)
rename arch/m68k/platform/{68EZ328/config.c => 68000/m68EZ328.c} (97%)
rename arch/m68k/platform/{68VZ328/config.c => 68000/m68VZ328.c} (98%)
rename arch/m68k/platform/{68328 => 68000}/romvec.S (94%)
rename arch/m68k/platform/{68328 => 68000}/timers.c (98%)
delete mode 100644 arch/m68k/platform/68328/Makefile
delete mode 100644 arch/m68k/platform/68328/head-de2.S
delete mode 100644 arch/m68k/platform/68328/head-pilot.S
delete mode 100644 arch/m68k/platform/68328/head-ram.S
delete mode 100644 arch/m68k/platform/68328/head-rom.S
delete mode 100644 arch/m68k/platform/68EZ328/Makefile
delete mode 100644 arch/m68k/platform/68VZ328/Makefilearch/m68k/Makefile +2 -4
@@ -92,7 +92,7 @@ endif head-y := arch/m68k/kernel/head.o head-$(CONFIG_SUN3) := arch/m68k/kernel/sun3-head.o head-$(CONFIG_M68360) := arch/m68k/platform/68360/head.o -head-$(CONFIG_M68000) := arch/m68k/platform/68328/head.o +head-$(CONFIG_M68000) := arch/m68k/platform/68000/head.o head-$(CONFIG_COLDFIRE) := arch/m68k/platform/coldfire/head.o core-y += arch/m68k/kernel/ arch/m68k/mm/
@@ -114,9 +114,7 @@ core-$(CONFIG_M68040) += arch/m68k/fpsp040/ core-$(CONFIG_M68060) += arch/m68k/ifpsp060/ core-$(CONFIG_M68KFPU_EMU) += arch/m68k/math-emu/ core-$(CONFIG_M68360) += arch/m68k/platform/68360/ -core-$(CONFIG_M68000) += arch/m68k/platform/68328/ -core-$(CONFIG_M68EZ328) += arch/m68k/platform/68EZ328/ -core-$(CONFIG_M68VZ328) += arch/m68k/platform/68VZ328/ +core-$(CONFIG_M68000) += arch/m68k/platform/68000/ core-$(CONFIG_COLDFIRE) += arch/m68k/platform/coldfire/
arch/m68k/platform/68000/Makefile new file +18 -0
@@ -0,0 +1,18 @@ +################################################## +# +# Makefile for 68000 core based cpus +# +# 2012.10.21, Luis Alves <[email protected]> +# Merged all 68000 based cpu's config +# files into a single directory. +# + +# 68328, 68EZ328, 68VZ328 + +obj-y += entry.o ints.o timers.o +obj-$(CONFIG_M68328) += m68328.o +obj-$(CONFIG_M68EZ328) += m68EZ328.o +obj-$(CONFIG_M68VZ328) += m68VZ328.o +obj-$(CONFIG_ROM) += romvec.o + +extra-y := head.o
arch/m68k/platform/68000/bootlogo-vz.h renamed from arch/m68k/platform/68VZ328/bootlogo.h +0 -0
arch/m68k/platform/68000/bootlogo.h renamed from arch/m68k/platform/68328/bootlogo.h +0 -0
arch/m68k/platform/68000/entry.S renamed from arch/m68k/platform/68328/entry.S +0 -0
arch/m68k/platform/68000/head.S new file +240 -0
240 lines not on this page · raw message
arch/m68k/platform/68000/ints.c renamed from arch/m68k/platform/68328/ints.c +1 -1
@@ -1,5 +1,5 @@/* -* linux/arch/m68knommu/platform/68328/ints.c +* ints.c - Generic interrupt controller support * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive
arch/m68k/platform/68000/m68328.c renamed from arch/m68k/platform/68328/config.c +1 -1
@@ -1,7 +1,7 @@/***************************************************************************/ /* -* linux/arch/m68knommu/platform/68328/config.c +* m68328.c - 68328 specific config * * Copyright (C) 1993 Hamish Macdonald * Copyright (C) 1999 D. Jeff Dionne
arch/m68k/platform/68000/m68EZ328.c renamed from arch/m68k/platform/68EZ328/config.c +1 -1
@@ -1,7 +1,7 @@/***************************************************************************/ /* -* linux/arch/m68knommu/platform/68EZ328/config.c +* m68EZ328.c - 68EZ328 specific config * * Copyright (C) 1993 Hamish Macdonald * Copyright (C) 1999 D. Jeff Dionne
arch/m68k/platform/68000/m68VZ328.c renamed from arch/m68k/platform/68VZ328/config.c +2 -2
@@ -1,7 +1,7 @@/***************************************************************************/ /* -* linux/arch/m68knommu/platform/68VZ328/config.c +* m68VZ328.c - 68VZ328 specific config * * Copyright (C) 1993 Hamish Macdonald * Copyright (C) 1999 D. Jeff Dionne
@@ -28,7 +28,7 @@#include <asm/bootstd.h> #ifdef CONFIG_INIT_LCD -#include "bootlogo.h" +#include "bootlogo-vz.h" #endif /***************************************************************************/
arch/m68k/platform/68000/romvec.S renamed from arch/m68k/platform/68328/romvec.S +1 -1
@@ -1,5 +1,5 @@ /* - * linux/arch/m68knommu/platform/68328/romvec.S + * romvec.S - Vector table for 68000 cpus * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive
arch/m68k/platform/68000/timers.c renamed from arch/m68k/platform/68328/timers.c +1 -1
@@ -1,7 +1,7 @@/***************************************************************************/ /* -* linux/arch/m68knommu/platform/68328/timers.c +* timers.c - Generic hardware timer support. * * Copyright (C) 1993 Hamish Macdonald * Copyright (C) 1999 D. Jeff Dionne
arch/m68k/platform/68328/Makefile deleted +0 -21
@@ -1,21 +0,0 @@ -# -# Makefile for arch/m68knommu/platform/68328. -# - -model-y := ram -model-$(CONFIG_ROMKERNEL) := rom - -head-y = head-$(model-y).o -head-$(CONFIG_PILOT) = head-pilot.o -head-$(CONFIG_DRAGEN2) = head-de2.o - -obj-y += entry.o ints.o timers.o -obj-$(CONFIG_M68328) += config.o -obj-$(CONFIG_ROM) += romvec.o - -extra-y := head.o - -$(obj)/head.o: $(obj)/$(head-y) - ln -sf $(head-y) $(obj)/head.o - -clean-files := $(obj)/head.o $(head-y)
arch/m68k/platform/68328/head-de2.S deleted +0 -128
128 lines not on this page · raw message
arch/m68k/platform/68328/head-pilot.S deleted +0 -207
207 lines not on this page · raw message
arch/m68k/platform/68328/head-ram.S deleted +0 -141
141 lines not on this page · raw message
arch/m68k/platform/68328/head-rom.S deleted +0 -105
105 lines not on this page · raw message
arch/m68k/platform/68EZ328/Makefile deleted +0 -5
@@ -1,5 +0,0 @@ -# -# Makefile for arch/m68knommu/platform/68EZ328. -# - -obj-y := config.o
arch/m68k/platform/68VZ328/Makefile deleted +0 -5
@@ -1,5 +0,0 @@ -# -# Makefile for arch/m68k/platform/68VZ328. -# - -obj-y := config.o
Signature · 9 lines
1.7.10.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
Hi Luis,
Quoted 1 line · Luis Alves
I'm sending the patch for the 68000 core code merge to add in the 'for-next' branch.
Looks good, thanks. Added to the m68knommu for-next branch.
Regards
Greg
Quoted 32 lines
Signed-off-by Luis Alves <[email protected]>--- arch/m68k/Makefile | 6 +- arch/m68k/platform/68000/Makefile | 18 ++ .../{68VZ328/bootlogo.h => 68000/bootlogo-vz.h} | 0 arch/m68k/platform/{68328 => 68000}/bootlogo.h | 0 arch/m68k/platform/{68328 => 68000}/entry.S | 0 arch/m68k/platform/68000/head.S | 240 ++++++++++++++++++++ arch/m68k/platform/{68328 => 68000}/ints.c | 2 +- .../platform/{68328/config.c => 68000/m68328.c} | 2 +- .../{68EZ328/config.c => 68000/m68EZ328.c} | 2 +- .../{68VZ328/config.c => 68000/m68VZ328.c} | 4 +- arch/m68k/platform/{68328 => 68000}/romvec.S | 2 +- arch/m68k/platform/{68328 => 68000}/timers.c | 2 +- arch/m68k/platform/68328/Makefile | 21 -- arch/m68k/platform/68328/head-de2.S | 128 ----------- arch/m68k/platform/68328/head-pilot.S | 207 ----------------- arch/m68k/platform/68328/head-ram.S | 141 ------------ arch/m68k/platform/68328/head-rom.S | 105 --------- arch/m68k/platform/68EZ328/Makefile | 5 - arch/m68k/platform/68VZ328/Makefile | 5 - 19 files changed, 267 insertions(+), 623 deletions(-)create mode 100644
arch/m68k/platform/68000/Makefile
renamearch/m68k/platform/{68VZ328/bootlogo.h=>68000/bootlogo-vz.h} (100%) renamearch/m68k/platform/{68328=>68000}/bootlogo.h(100%) renamearch/m68k/platform/{68328=>68000}/entry.S(100%) create mode 100644arch/m68k/platform/68000/head.S
renamearch/m68k/platform/{68328=>68000}/ints.c(98%)
renamearch/m68k/platform/{68328/config.c=>68000/m68328.c} (97%) renamearch/m68k/platform/{68EZ328/config.c=>68000/m68EZ328.c} (97%) renamearch/m68k/platform/{68VZ328/config.c=>68000/m68VZ328.c} (98%) renamearch/m68k/platform/{68328=>68000}/romvec.S(94%)
Quoted 9 lines
rename
arch/m68k/platform/{68328=>68000}/timers.c(98%) delete mode 100644arch/m68k/platform/68328/Makefiledelete mode 100644arch/m68k/platform/68328/head-de2.Sdelete mode 100644arch/m68k/platform/68328/head-pilot.Sdelete mode 100644arch/m68k/platform/68328/head-ram.Sdelete mode 100644arch/m68k/platform/68328/head-rom.Sdelete mode 100644arch/m68k/platform/68EZ328/Makefiledelete mode 100644arch/m68k/platform/68VZ328/Makefile
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected] SnapGear Group, McAfee PHONE: +61 7 3435 2888 8 Gardner Close FAX: +61 7 3217 5323 Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com