diff options
author | Jon Loeliger <jdl@jdl.com> | 2006-06-17 18:52:35 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-21 01:01:27 -0400 |
commit | c9b484b5c1201321f40b04870e8b417033b6fe76 (patch) | |
tree | cddf9f91d9d8b5e42e6cc74865ed6596a78df391 | |
parent | 8a30088794ff426cd3e21557db8f3d2687ac6695 (diff) |
[POWERPC] Add the mpc8641 hpcn Kconfig and Makefiles.
Signed-off-by: Xianghua Xiao <x.xiao@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/Kconfig | 15 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/Kconfig | 36 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/Makefile | 10 | ||||
-rw-r--r-- | arch/powerpc/platforms/Makefile | 1 |
4 files changed, 60 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4ef2478cb84..65f4cd181bd 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -141,6 +141,15 @@ config PPC_85xx | |||
141 | select FSL_SOC | 141 | select FSL_SOC |
142 | select 85xx | 142 | select 85xx |
143 | 143 | ||
144 | config PPC_86xx | ||
145 | bool "Freescale 86xx" | ||
146 | select 6xx | ||
147 | select FSL_SOC | ||
148 | select PPC_FPU | ||
149 | select ALTIVEC | ||
150 | help | ||
151 | The Freescale E600 SoCs have 74xx cores. | ||
152 | |||
144 | config 40x | 153 | config 40x |
145 | bool "AMCC 40x" | 154 | bool "AMCC 40x" |
146 | 155 | ||
@@ -549,6 +558,7 @@ source arch/powerpc/platforms/embedded6xx/Kconfig | |||
549 | source arch/powerpc/platforms/4xx/Kconfig | 558 | source arch/powerpc/platforms/4xx/Kconfig |
550 | source arch/powerpc/platforms/83xx/Kconfig | 559 | source arch/powerpc/platforms/83xx/Kconfig |
551 | source arch/powerpc/platforms/85xx/Kconfig | 560 | source arch/powerpc/platforms/85xx/Kconfig |
561 | source arch/powerpc/platforms/86xx/Kconfig | ||
552 | source arch/powerpc/platforms/8xx/Kconfig | 562 | source arch/powerpc/platforms/8xx/Kconfig |
553 | source arch/powerpc/platforms/cell/Kconfig | 563 | source arch/powerpc/platforms/cell/Kconfig |
554 | 564 | ||
@@ -780,6 +790,7 @@ config GENERIC_ISA_DMA | |||
780 | 790 | ||
781 | config PPC_I8259 | 791 | config PPC_I8259 |
782 | bool | 792 | bool |
793 | default y if MPC8641_HPCN | ||
783 | default n | 794 | default n |
784 | 795 | ||
785 | config PPC_INDIRECT_PCI | 796 | config PPC_INDIRECT_PCI |
@@ -802,8 +813,8 @@ config MCA | |||
802 | bool | 813 | bool |
803 | 814 | ||
804 | config PCI | 815 | config PCI |
805 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) | 816 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) |
806 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx && !PPC_85xx | 817 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx && !PPC_85xx && !PPC_86xx |
807 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS | 818 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS |
808 | default PCI_QSPAN if !4xx && !CPM2 && 8xx | 819 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
809 | help | 820 | help |
diff --git a/arch/powerpc/platforms/86xx/Kconfig b/arch/powerpc/platforms/86xx/Kconfig new file mode 100644 index 00000000000..3a87863d287 --- /dev/null +++ b/arch/powerpc/platforms/86xx/Kconfig | |||
@@ -0,0 +1,36 @@ | |||
1 | menu "Platform Support" | ||
2 | depends on PPC_86xx | ||
3 | |||
4 | choice | ||
5 | prompt "Machine Type" | ||
6 | default MPC8641_HPCN | ||
7 | |||
8 | config MPC8641_HPCN | ||
9 | bool "Freescale MPC8641 HPCN" | ||
10 | help | ||
11 | This option enables support for the MPC8641 HPCN board. | ||
12 | |||
13 | endchoice | ||
14 | |||
15 | |||
16 | config MPC8641 | ||
17 | bool | ||
18 | select PPC_INDIRECT_PCI | ||
19 | select PPC_UDBG_16550 | ||
20 | default y if MPC8641_HPCN | ||
21 | |||
22 | config MPIC | ||
23 | bool | ||
24 | default y | ||
25 | |||
26 | config PPC_INDIRECT_PCI_BE | ||
27 | bool | ||
28 | depends on PPC_86xx | ||
29 | default y | ||
30 | |||
31 | config PPC_STD_MMU | ||
32 | bool | ||
33 | depends on PPC_86xx | ||
34 | default y | ||
35 | |||
36 | endmenu | ||
diff --git a/arch/powerpc/platforms/86xx/Makefile b/arch/powerpc/platforms/86xx/Makefile new file mode 100644 index 00000000000..7be796c5d5c --- /dev/null +++ b/arch/powerpc/platforms/86xx/Makefile | |||
@@ -0,0 +1,10 @@ | |||
1 | # | ||
2 | # Makefile for the PowerPC 86xx linux kernel. | ||
3 | # | ||
4 | |||
5 | |||
6 | ifeq ($(CONFIG_PPC_86xx),y) | ||
7 | obj-$(CONFIG_SMP) += mpc86xx_smp.o | ||
8 | endif | ||
9 | obj-$(CONFIG_MPC8641_HPCN) += mpc86xx_hpcn.o | ||
10 | obj-$(CONFIG_PCI) += pci.o mpc86xx_pcie.o | ||
diff --git a/arch/powerpc/platforms/Makefile b/arch/powerpc/platforms/Makefile index c4f6b0d2d14..29286369456 100644 --- a/arch/powerpc/platforms/Makefile +++ b/arch/powerpc/platforms/Makefile | |||
@@ -9,6 +9,7 @@ obj-$(CONFIG_PPC_CHRP) += chrp/ | |||
9 | obj-$(CONFIG_4xx) += 4xx/ | 9 | obj-$(CONFIG_4xx) += 4xx/ |
10 | obj-$(CONFIG_PPC_83xx) += 83xx/ | 10 | obj-$(CONFIG_PPC_83xx) += 83xx/ |
11 | obj-$(CONFIG_PPC_85xx) += 85xx/ | 11 | obj-$(CONFIG_PPC_85xx) += 85xx/ |
12 | obj-$(CONFIG_PPC_86xx) += 86xx/ | ||
12 | obj-$(CONFIG_PPC_PSERIES) += pseries/ | 13 | obj-$(CONFIG_PPC_PSERIES) += pseries/ |
13 | obj-$(CONFIG_PPC_ISERIES) += iseries/ | 14 | obj-$(CONFIG_PPC_ISERIES) += iseries/ |
14 | obj-$(CONFIG_PPC_MAPLE) += maple/ | 15 | obj-$(CONFIG_PPC_MAPLE) += maple/ |