Base support for 440GX Taishan eval board
Subsystems (3)
PATCH 10/20 Base support for 440GX Taishan eval board
From: Hugh Blemings <[email protected]>
This patch adds base support for the AMCC Taishan 440GX evaluation board.
Signed-off-by Hugh Blemings <[email protected]>
Signed-off-by Benjamin Herrenschmidt <[email protected]>
---
arch/powerpc/Kconfig.debug | 6 arch/powerpc/boot/Makefile | 5 arch/powerpc/boot/cuboot-taishan.c | 56 ++ arch/powerpc/boot/dts/taishan.dts | 375 +++++++++++++++ arch/powerpc/configs/taishan_defconfig | 787 +++++++++++++++++++++++++++++++++ arch/powerpc/platforms/44x/Kconfig | 13 arch/powerpc/platforms/44x/Makefile | 1 arch/powerpc/platforms/44x/taishan.c | 74 +++ 8 files changed, 1315 insertions(+), 2 deletions(-)
arch/powerpc/boot/Makefile +4 -1
@@ -37,8 +37,10 @@ BOOTCFLAGS += -I$(obj) -I$(srctree)/$(ob $(obj)/4xx.o: BOOTCFLAGS += -mcpu=440 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=440 +$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=440 $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 + zlib := inffast.c inflate.c inftrees.c zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h zliblinuxheader := zlib.h zconf.h zutil.h
@@ -58,7 +60,7 @@ src-plat := of.c cuboot-52xx.c cuboot-83 cuboot-ebony.c treeboot-ebony.c prpmc2800.c \ ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c cuboot-8xx.c \ cuboot-pq2.c cuboot-sequoia.c treeboot-walnut.c cuboot-bamboo.c \ - fixed-head.S ep88xc.c cuboot-hpc2.c ep405.c + fixed-head.S ep88xc.c cuboot-hpc2.c ep405.c cuboot-taishan.c src-boot := $(src-wlib) $(src-plat) empty.c src-boot := $(addprefix $(obj)/, $(src-boot))
@@ -164,6 +166,7 @@ image-$(CONFIG_EBONY) += treeImage.ebo image-$(CONFIG_BAMBOO) += treeImage.bamboo cuImage.bamboo image-$(CONFIG_SEQUOIA) += cuImage.sequoia image-$(CONFIG_WALNUT) += treeImage.walnut +image-$(CONFIG_TAISHAN) += cuImage.taishan endif # For 32-bit powermacs, build the COFF and miboot images
arch/powerpc/Kconfig.debug +5 -1
@@ -225,7 +225,8 @@ config PPC_EARLY_DEBUG_44x depends on 44x help Select this to enable early debugging for IBM 44x chips via the - inbuilt serial port. + inbuilt serial port. If you enable this, ensure you set + PPC_EARLY_DEBUG_44x_PHYSLOW below to suit your target board. config PPC_EARLY_DEBUG_40x bool "Early serial debugging for IBM/AMCC 40x CPUs"
@@ -250,6 +251,9 @@ config PPC_EARLY_DEBUG_44x_PHYSLOW hex "Low 32 bits of early debug UART physical address" depends on PPC_EARLY_DEBUG_44x default "0x40000200" + help + You probably want 0x40000200 for ebony boards and + 0x40000300 for taishan config PPC_EARLY_DEBUG_44x_PHYSHIGH hex "EPRN of early debug UART physical address"
arch/powerpc/platforms/44x/Kconfig +13 -0
@@ -22,6 +22,15 @@ config SEQUOIA help This option enables support for the AMCC PPC440EPX evaluation board. +config TAISHAN + bool "Taishan" + depends on 44x + default n + select 440GX + help + This option enables support for the AMCC PPC440GX "Taishan" + evaluation board. + #config LUAN # bool "Luan" # depends on 44x
@@ -58,6 +67,10 @@ config 440GP config 440GX bool + select IBM_NEW_EMAC_EMAC4 + select IBM_NEW_EMAC_RGMII + select IBM_NEW_EMAC_ZMII #test only + select IBM_NEW_EMAC_TAH #test only config 440SP bool
arch/powerpc/platforms/44x/Makefile +1 -0
@@ -1,4 +1,5 @@ obj-$(CONFIG_44x) := misc_44x.o obj-$(CONFIG_EBONY) += ebony.o +obj-$(CONFIG_TAISHAN) += taishan.o obj-$(CONFIG_BAMBOO) += bamboo.o obj-$(CONFIG_SEQUOIA) += sequoia.o
arch/powerpc/platforms/44x/taishan.c new file +74 -0
74 lines not on this page · raw message
arch/powerpc/boot/dts/taishan.dts new file +375 -0
375 lines not on this page · raw message
arch/powerpc/boot/cuboot-taishan.c new file +56 -0
56 lines not on this page · raw message
arch/powerpc/configs/taishan_defconfig new file +787 -0
787 lines not on this page · raw message