powerpc: Add arch/powerpc support for Freescale Sandpoint
Subsystems (2)
PATCH 1/1 powerpc: Add arch/powerpc support for Freescale Sandpoint
Add support for the Freescale Sandpoint platform to the arch/powerpc tree. This requires the flat device tree functionality provided by the patch series started here: http://ozlabs.org/pipermail/linuxppc-dev/2006-October/026738.html
Signed-off-by Mark A. Greer <[email protected]>
---
boot/Makefile | 11 boot/dts/sandpoint.dts | 218 +++++++ boot/mpc10x.c | 109 +++ boot/sandpoint.c | 162 +++++ configs/sandpoint_defconfig | 1144 ++++++++++++++++++++++++++++++++++++++ platforms/embedded6xx/Kconfig | 2 platforms/embedded6xx/Makefile | 1 platforms/embedded6xx/sandpoint.c | 384 ++++++++++++ 8 files changed, 2029 insertions(+), 2 deletions(-)
---
arch/powerpc/boot/Makefile +9 -2
@@ -41,8 +41,8 @@ zliblinuxheader := zlib.h zconf.h zutil. $(addprefix $(obj)/,$(zlibheader)) src-wlib := string.S stdio.c main.c flatdevtree.c flatdevtree_misc.c ns16550.c \ - serial.c simple_alloc.c div64.S util.S $(zlib) -src-plat := of.c + serial.c simple_alloc.c mpc10x.c div64.S util.S $(zlib) +src-plat := of.c sandpoint.c src-boot := crt0.S $(src-wlib) $(src-plat) empty.c src-boot := $(addprefix $(obj)/, $(src-boot))
@@ -149,6 +149,12 @@ quiet_cmd_wrap_initrd = WRAP $@ $(obj)/zImage.initrd.miboot: vmlinux $(wrapperbits) $(call cmd,wrap_initrd,miboot) +$(obj)/zImage.sandpoint: vmlinux $(wrapperbits) + $(call cmd,wrap,sandpoint) + +$(obj)/zImage.initrd.sandpoint: vmlinux $(wrapperbits) + $(call cmd,wrap_initrd,sandpoint) + $(obj)/uImage: vmlinux $(wrapperbits) $(call cmd,wrap,uboot)
@@ -157,6 +163,7 @@ image-$(CONFIG_PPC_MAPLE) += zImage.pser image-$(CONFIG_PPC_CELL) += zImage.pseries image-$(CONFIG_PPC_CHRP) += zImage.chrp image-$(CONFIG_PPC_PMAC) += zImage.pmac +image-$(CONFIG_SANDPOINT) += zImage.sandpoint image-$(CONFIG_DEFAULT_UIMAGE) += uImage # For 32-bit powermacs, build the COFF and miboot images
arch/powerpc/boot/dts/sandpoint.dts new file +218 -0
218 lines not on this page · raw message
arch/powerpc/boot/mpc10x.c new file +109 -0
109 lines not on this page · raw message
arch/powerpc/boot/sandpoint.c new file +162 -0
162 lines not on this page · raw message
arch/powerpc/configs/sandpoint_defconfig new file +1144 -0
1,144 lines not on this page · raw message
arch/powerpc/platforms/embedded6xx/Kconfig +2 -0
@@ -69,7 +69,9 @@ config PRPMC800 config SANDPOINT bool "Motorola-Sandpoint" + select MPIC select PPC_I8259 + select PPC_UDBG_16550 help Select SANDPOINT if configuring for a Motorola Sandpoint X3 (any flavor).
arch/powerpc/platforms/embedded6xx/Makefile +1 -0
@@ -2,3 +2,4 @@ # # Makefile for the 6xx/7xx/7xxxx linux kernel. # obj-$(CONFIG_MPC7448HPC2) += mpc7448_hpc2.o +obj-$(CONFIG_SANDPOINT) += sandpoint.o
arch/powerpc/platforms/embedded6xx/sandpoint.c new file +384 -0
384 lines not on this page · raw message