diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-03-12 08:32:50 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-17 05:04:32 -0400 |
commit | 52d99627003278bcd1a40ea45136a8148d351531 (patch) | |
tree | 9e511f88fb19353fb9d7fafa684d595e5a5e5fd7 | |
parent | f915b51c79d1620efa6862d14d8cbd60c699b19b (diff) |
powerpc: kill PPC_OF
We have set CONFIG_PPC_OF to always 'y' in commit 0a498d96a332
("powerpc: set CONFIG_PPC_OF=y always for ARCH=powerpc") nine years
ago. And the arch/ppc also has gone away for many years. The OF
functionality was also moved to a common place and be used by many
archs. So it does make no sense to keep such a option in the current
kernel. Just kill it.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/Kconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/Kconfig.debug | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/Makefile | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 22b0940494bb..c102668b4225 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -189,9 +189,6 @@ config ARCH_MAY_HAVE_PC_FDC | |||
189 | bool | 189 | bool |
190 | default PCI | 190 | default PCI |
191 | 191 | ||
192 | config PPC_OF | ||
193 | def_bool y | ||
194 | |||
195 | config PPC_UDBG_16550 | 192 | config PPC_UDBG_16550 |
196 | bool | 193 | bool |
197 | default n | 194 | default n |
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index ec2e40f2cc11..bfd823abff93 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -117,7 +117,7 @@ config BDI_SWITCH | |||
117 | 117 | ||
118 | config BOOTX_TEXT | 118 | config BOOTX_TEXT |
119 | bool "Support for early boot text console (BootX or OpenFirmware only)" | 119 | bool "Support for early boot text console (BootX or OpenFirmware only)" |
120 | depends on PPC_OF && PPC_BOOK3S | 120 | depends on PPC_BOOK3S |
121 | help | 121 | help |
122 | Say Y here to see progress messages from the boot firmware in text | 122 | Say Y here to see progress messages from the boot firmware in text |
123 | mode. Requires either BootX or Open Firmware. | 123 | mode. Requires either BootX or Open Firmware. |
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 502cf69b6c89..c1ebbdaac28f 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -33,7 +33,8 @@ obj-y := cputable.o ptrace.o syscalls.o \ | |||
33 | signal.o sysfs.o cacheinfo.o time.o \ | 33 | signal.o sysfs.o cacheinfo.o time.o \ |
34 | prom.o traps.o setup-common.o \ | 34 | prom.o traps.o setup-common.o \ |
35 | udbg.o misc.o io.o dma.o \ | 35 | udbg.o misc.o io.o dma.o \ |
36 | misc_$(CONFIG_WORD_SIZE).o vdso32/ | 36 | misc_$(CONFIG_WORD_SIZE).o vdso32/ \ |
37 | of_platform.o prom_parse.o | ||
37 | obj-$(CONFIG_PPC64) += setup_64.o sys_ppc32.o \ | 38 | obj-$(CONFIG_PPC64) += setup_64.o sys_ppc32.o \ |
38 | signal_64.o ptrace32.o \ | 39 | signal_64.o ptrace32.o \ |
39 | paca.o nvram_64.o firmware.o | 40 | paca.o nvram_64.o firmware.o |
@@ -47,7 +48,6 @@ obj-$(CONFIG_PPC64) += vdso64/ | |||
47 | obj-$(CONFIG_ALTIVEC) += vecemu.o | 48 | obj-$(CONFIG_ALTIVEC) += vecemu.o |
48 | obj-$(CONFIG_PPC_970_NAP) += idle_power4.o | 49 | obj-$(CONFIG_PPC_970_NAP) += idle_power4.o |
49 | obj-$(CONFIG_PPC_P7_NAP) += idle_power7.o | 50 | obj-$(CONFIG_PPC_P7_NAP) += idle_power7.o |
50 | obj-$(CONFIG_PPC_OF) += of_platform.o prom_parse.o | ||
51 | procfs-y := proc_powerpc.o | 51 | procfs-y := proc_powerpc.o |
52 | obj-$(CONFIG_PROC_FS) += $(procfs-y) | 52 | obj-$(CONFIG_PROC_FS) += $(procfs-y) |
53 | rtaspci-$(CONFIG_PPC64)-$(CONFIG_PCI) := rtas_pci.o | 53 | rtaspci-$(CONFIG_PPC64)-$(CONFIG_PCI) := rtas_pci.o |