Skip to contentSkip to conversation

ppc32-8xx: STXXTC core board support.

PATCH New Pantelis Antoniou 1 participant 1 message Dec 6, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc32-8xx: STXXTC core board support.

Support Silicon Turnkey's XTc board. Core.

---
commit 76d9ad9d0440e6f26ff87899284a90cd865dd330
tree b2e28d3a62e2fa47ca75579a04d579dfc41a36a5
parent 978475b1cf2b5b060bd07321ec482918966ac20b
author Pantelis Antoniou <[email protected]> Tue, 06 Dec 2005 23:17:43 +0200 committer Pantelis Antoniou <[email protected]> Tue, 06 Dec 2005 23:17:43 +0200

 arch/ppc/Kconfig                  |    5 
 arch/ppc/configs/stxxtc_defconfig |  804 +++++++++++++++++++++++++++++++++++++
 arch/ppc/platforms/Makefile       |    1 
 arch/ppc/platforms/stxxtc.h       |  136 ++++++
 arch/ppc/platforms/stxxtc_setup.c |  202 +++++++++
 arch/ppc/syslib/m8xx_setup.c      |    3 
 include/asm-ppc/mpc8xx.h          |    4 
 7 files changed, 1155 insertions(+), 0 deletions(-)
arch/ppc/Kconfig +5 -0
@@ -504,6 +504,11 @@ config WINCEPT
 	  MPC821 PowerPC, introduced in 1998 and designed to be used in
 	  thin-client machines.  Say Y to support it directly.
 
+config STXXTC
+	bool "Silicon Turnkey eXpress XTc"
+	help
+	  Select STXXTC if configuring for an Silicon Turnkey eXpress XTc
+
 endchoice
 
 choice
arch/ppc/configs/stxxtc_defconfig new file +804 -0

804 lines not on this page · raw message

arch/ppc/platforms/Makefile +1 -0
@@ -45,6 +45,7 @@ obj-$(CONFIG_SBC82xx)		+= sbc82xx.o
 obj-$(CONFIG_SPRUCE)		+= spruce.o
 obj-$(CONFIG_LITE5200)		+= lite5200.o
 obj-$(CONFIG_EV64360)		+= ev64360.o
+obj-$(CONFIG_STXXTC)		+= stxxtc_setup.o
 
 ifeq ($(CONFIG_SMP),y)
 obj-$(CONFIG_PPC_PMAC)		+= pmac_smp.o
arch/ppc/platforms/stxxtc.h new file +136 -0

136 lines not on this page · raw message

arch/ppc/platforms/stxxtc_setup.c new file +202 -0

202 lines not on this page · raw message

arch/ppc/syslib/m8xx_setup.c +3 -0
@@ -370,6 +370,9 @@ m8xx_map_io(void)
 #if defined(CONFIG_NETTA)
 	io_block_mapping(_IO_BASE,_IO_BASE,_IO_BASE_SIZE, _PAGE_IO);
 #endif
+#if defined(CONFIG_STXXTC)
+ 	io_block_mapping(_IO_BASE,_IO_BASE, _IO_BASE_SIZE, _PAGE_IO);
+#endif
 }
 
 void __init
include/asm-ppc/mpc8xx.h +4 -0
@@ -68,6 +68,10 @@
 #include <platforms/mpc885ads.h>
 #endif
 
+#if defined(CONFIG_STXXTC)
+#include <platforms/stxxtc.h>
+#endif
+
 /* Currently, all 8xx boards that support a processor to PCI/ISA bridge
  * use the same memory map.
  */