diff options
-rw-r--r-- | arch/powerpc/Kconfig | 5 | ||||
-rw-r--r-- | arch/powerpc/sysdev/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/mmio_nvram.c (renamed from arch/ppc64/kernel/bpa_nvram.c) | 0 | ||||
-rw-r--r-- | arch/ppc64/kernel/Makefile | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index aa13a9d95ea2..1c44a1dac421 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -325,6 +325,7 @@ config PPC_CELL | |||
325 | depends on PPC_MULTIPLATFORM && PPC64 | 325 | depends on PPC_MULTIPLATFORM && PPC64 |
326 | select PPC_RTAS | 326 | select PPC_RTAS |
327 | select RTAS_FW | 327 | select RTAS_FW |
328 | select MMIO_NVRAM | ||
328 | 329 | ||
329 | config PPC_OF | 330 | config PPC_OF |
330 | bool | 331 | bool |
@@ -360,6 +361,10 @@ config RTAS_FW | |||
360 | depends on PPC_RTAS | 361 | depends on PPC_RTAS |
361 | default n | 362 | default n |
362 | 363 | ||
364 | config MMIO_NVRAM | ||
365 | bool | ||
366 | default n | ||
367 | |||
363 | config MPIC_BROKEN_U3 | 368 | config MPIC_BROKEN_U3 |
364 | bool | 369 | bool |
365 | depends on PPC_MAPLE | 370 | depends on PPC_MAPLE |
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile index 8acd21dee05d..6b7efcfc352a 100644 --- a/arch/powerpc/sysdev/Makefile +++ b/arch/powerpc/sysdev/Makefile | |||
@@ -5,3 +5,4 @@ obj-$(CONFIG_PPC_MPC106) += grackle.o | |||
5 | obj-$(CONFIG_BOOKE) += dcr.o | 5 | obj-$(CONFIG_BOOKE) += dcr.o |
6 | obj-$(CONFIG_40x) += dcr.o | 6 | obj-$(CONFIG_40x) += dcr.o |
7 | obj-$(CONFIG_U3_DART) += u3_iommu.o | 7 | obj-$(CONFIG_U3_DART) += u3_iommu.o |
8 | obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o | ||
diff --git a/arch/ppc64/kernel/bpa_nvram.c b/arch/powerpc/sysdev/mmio_nvram.c index 74e0d31a3559..74e0d31a3559 100644 --- a/arch/ppc64/kernel/bpa_nvram.c +++ b/arch/powerpc/sysdev/mmio_nvram.c | |||
diff --git a/arch/ppc64/kernel/Makefile b/arch/ppc64/kernel/Makefile index a01a9de9eb56..afd445114446 100644 --- a/arch/ppc64/kernel/Makefile +++ b/arch/ppc64/kernel/Makefile | |||
@@ -31,7 +31,7 @@ endif | |||
31 | 31 | ||
32 | obj-$(CONFIG_PPC_PSERIES) += rtasd.o udbg_16550.o | 32 | obj-$(CONFIG_PPC_PSERIES) += rtasd.o udbg_16550.o |
33 | 33 | ||
34 | obj-$(CONFIG_PPC_CELL) += bpa_setup.o bpa_iommu.o bpa_nvram.o \ | 34 | obj-$(CONFIG_PPC_CELL) += bpa_setup.o bpa_iommu.o \ |
35 | bpa_iic.o spider-pic.o | 35 | bpa_iic.o spider-pic.o |
36 | 36 | ||
37 | obj-$(CONFIG_KEXEC) += machine_kexec.o | 37 | obj-$(CONFIG_KEXEC) += machine_kexec.o |