Skip to content

Commit

Permalink
[POWERPC] Add general support for mpc7448hpc2 (Taiga) platform
Browse files Browse the repository at this point in the history
Add support for Freescale mpc7448 (Taiga) board support

Signed-off-by: Roy Zang  <tie-fei.zang@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Zang Roy-r61911 authored and Paul Mackerras committed Jun 29, 2006
1 parent 1729dc7 commit c5d5633
Show file tree
Hide file tree
Showing 7 changed files with 397 additions and 3 deletions.
8 changes: 5 additions & 3 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ config PPC_ISERIES

config EMBEDDED6xx
bool "Embedded 6xx/7xx/7xxx-based board"
depends on PPC32 && BROKEN
depends on PPC32 && (BROKEN||BROKEN_ON_SMP)

config APUS
bool "Amiga-APUS"
Expand Down Expand Up @@ -436,7 +436,8 @@ config U3_DART
default n

config MPIC
depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE || PPC_CHRP
depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE || PPC_CHRP \
|| MPC7448HPC2
bool
default y

Expand Down Expand Up @@ -821,7 +822,8 @@ config MCA
bool

config PCI
bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES)
bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) \
|| MPC7448HPC2
default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx && !PPC_85xx && !PPC_86xx
default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
default PCI_QSPAN if !4xx && !CPM2 && 8xx
Expand Down
11 changes: 11 additions & 0 deletions arch/powerpc/kernel/legacy_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,17 @@ void __init find_legacy_serial_ports(void)
of_node_put(isa);
}

/* First fill our array with tsi-bridge ports */
for (np = NULL; (np = of_find_compatible_node(np, "serial", "ns16550")) != NULL;) {
struct device_node *tsi = of_get_parent(np);
if (tsi && !strcmp(tsi->type, "tsi-bridge")) {
index = add_legacy_soc_port(np, np);
if (index >= 0 && np == stdout)
legacy_serial_console = index;
}
of_node_put(tsi);
}

#ifdef CONFIG_PCI
/* Next, try to locate PCI ports */
for (np = NULL; (np = of_find_all_nodes(np));) {
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ obj-$(CONFIG_PPC_PSERIES) += pseries/
obj-$(CONFIG_PPC_ISERIES) += iseries/
obj-$(CONFIG_PPC_MAPLE) += maple/
obj-$(CONFIG_PPC_CELL) += cell/
obj-$(CONFIG_EMBEDDED6xx) += embedded6xx/
15 changes: 15 additions & 0 deletions arch/powerpc/platforms/embedded6xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ config SANDPOINT
Select SANDPOINT if configuring for a Motorola Sandpoint X3
(any flavor).

config MPC7448HPC2
bool "Freescale MPC7448HPC2(Taiga)"
select TSI108_BRIDGE
select DEFAULT_UIMAGE
select PPC_UDBG_16550
select MPIC
help
Select MPC7448HPC2 if configuring for Freescale MPC7448HPC2 (Taiga)
platform

config RADSTONE_PPC7D
bool "Radstone Technology PPC7D board"
select PPC_I8259
Expand Down Expand Up @@ -221,6 +231,11 @@ config MV64X60
select PPC_INDIRECT_PCI
default y

config TSI108_BRIDGE
bool
depends on MPC7448HPC2
default y

menu "Set bridge options"
depends on MV64X60

Expand Down
4 changes: 4 additions & 0 deletions arch/powerpc/platforms/embedded6xx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# Makefile for the 6xx/7xx/7xxxx linux kernel.
#
obj-$(CONFIG_MPC7448HPC2) += mpc7448_hpc2.o
Loading

0 comments on commit c5d5633

Please sign in to comment.