]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: kill PPC_OF
authorKevin Hao <haokexin@gmail.com>
Thu, 12 Mar 2015 12:32:50 +0000 (20:32 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Mar 2015 09:04:32 +0000 (20:04 +1100)
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>
arch/powerpc/Kconfig
arch/powerpc/Kconfig.debug
arch/powerpc/kernel/Makefile

index 22b0940494bb5016be1fca2a98aa7b75c105487a..c102668b4225e0fd886234322150fbd0e6e9c5fd 100644 (file)
@@ -189,9 +189,6 @@ config ARCH_MAY_HAVE_PC_FDC
        bool
        default PCI
 
-config PPC_OF
-       def_bool y
-
 config PPC_UDBG_16550
        bool
        default n
index ec2e40f2cc117c083b545129a25b634d25ec10e6..bfd823abff93ab2acd0342855bbbeb9bd145be79 100644 (file)
@@ -117,7 +117,7 @@ config BDI_SWITCH
 
 config BOOTX_TEXT
        bool "Support for early boot text console (BootX or OpenFirmware only)"
-       depends on PPC_OF && PPC_BOOK3S
+       depends on PPC_BOOK3S
        help
          Say Y here to see progress messages from the boot firmware in text
          mode. Requires either BootX or Open Firmware.
index 502cf69b6c89e30c75545ac34cc4092b4af80416..c1ebbdaac28fb85e37cb1fdf34c96e2e1175a977 100644 (file)
@@ -33,7 +33,8 @@ obj-y                         := cputable.o ptrace.o syscalls.o \
                                   signal.o sysfs.o cacheinfo.o time.o \
                                   prom.o traps.o setup-common.o \
                                   udbg.o misc.o io.o dma.o \
-                                  misc_$(CONFIG_WORD_SIZE).o vdso32/
+                                  misc_$(CONFIG_WORD_SIZE).o vdso32/ \
+                                  of_platform.o prom_parse.o
 obj-$(CONFIG_PPC64)            += setup_64.o sys_ppc32.o \
                                   signal_64.o ptrace32.o \
                                   paca.o nvram_64.o firmware.o
@@ -47,7 +48,6 @@ obj-$(CONFIG_PPC64)           += vdso64/
 obj-$(CONFIG_ALTIVEC)          += vecemu.o
 obj-$(CONFIG_PPC_970_NAP)      += idle_power4.o
 obj-$(CONFIG_PPC_P7_NAP)       += idle_power7.o
-obj-$(CONFIG_PPC_OF)           += of_platform.o prom_parse.o
 procfs-y                       := proc_powerpc.o
 obj-$(CONFIG_PROC_FS)          += $(procfs-y)
 rtaspci-$(CONFIG_PPC64)-$(CONFIG_PCI)  := rtas_pci.o