Commit edf03c1e authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras

[PATCH] powerpc: move mmio_nvram.c over to arch/powerpc

The nvram code formally known as bpa_nvram.c is rather
generic really, so it is quite likely to be useful to
future boards not based on cell.

This patch puts it into arch/powerpc/sysdev.
Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e9add2ee
...@@ -325,6 +325,7 @@ config PPC_CELL ...@@ -325,6 +325,7 @@ config PPC_CELL
depends on PPC_MULTIPLATFORM && PPC64 depends on PPC_MULTIPLATFORM && PPC64
select PPC_RTAS select PPC_RTAS
select RTAS_FW select RTAS_FW
select MMIO_NVRAM
config PPC_OF config PPC_OF
bool bool
...@@ -360,6 +361,10 @@ config RTAS_FW ...@@ -360,6 +361,10 @@ config RTAS_FW
depends on PPC_RTAS depends on PPC_RTAS
default n default n
config MMIO_NVRAM
bool
default n
config MPIC_BROKEN_U3 config MPIC_BROKEN_U3
bool bool
depends on PPC_MAPLE depends on PPC_MAPLE
......
...@@ -5,3 +5,4 @@ obj-$(CONFIG_PPC_MPC106) += grackle.o ...@@ -5,3 +5,4 @@ obj-$(CONFIG_PPC_MPC106) += grackle.o
obj-$(CONFIG_BOOKE) += dcr.o obj-$(CONFIG_BOOKE) += dcr.o
obj-$(CONFIG_40x) += dcr.o obj-$(CONFIG_40x) += dcr.o
obj-$(CONFIG_U3_DART) += u3_iommu.o obj-$(CONFIG_U3_DART) += u3_iommu.o
obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o
...@@ -31,7 +31,7 @@ endif ...@@ -31,7 +31,7 @@ endif
obj-$(CONFIG_PPC_PSERIES) += rtasd.o udbg_16550.o obj-$(CONFIG_PPC_PSERIES) += rtasd.o udbg_16550.o
obj-$(CONFIG_PPC_CELL) += bpa_setup.o bpa_iommu.o bpa_nvram.o \ obj-$(CONFIG_PPC_CELL) += bpa_setup.o bpa_iommu.o \
bpa_iic.o spider-pic.o bpa_iic.o spider-pic.o
obj-$(CONFIG_KEXEC) += machine_kexec.o obj-$(CONFIG_KEXEC) += machine_kexec.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment