Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5d56332 authored by Zang Roy-r61911's avatar Zang Roy-r61911 Committed by Paul Mackerras
Browse files

[POWERPC] Add general support for mpc7448hpc2 (Taiga) platform



Add support for Freescale mpc7448 (Taiga) board support

Signed-off-by: default avatarRoy Zang <tie-fei.zang@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 1729dc78
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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"
@@ -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

@@ -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
+11 −0
Original line number Diff line number Diff line
@@ -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));) {
+1 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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
@@ -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

+4 −0
Original line number Diff line number Diff line
#
# Makefile for the 6xx/7xx/7xxxx linux kernel.
#
obj-$(CONFIG_MPC7448HPC2)	+= mpc7448_hpc2.o
Loading