Skip to content

Commit

Permalink
[PATCH] powerpc: move mmio_nvram.c over to arch/powerpc
Browse files Browse the repository at this point in the history
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: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Arnd Bergmann authored and Paul Mackerras committed Nov 1, 2005
1 parent e9add2e commit edf03c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ config PPC_CELL
depends on PPC_MULTIPLATFORM && PPC64
select PPC_RTAS
select RTAS_FW
select MMIO_NVRAM

config PPC_OF
bool
Expand Down Expand Up @@ -360,6 +361,10 @@ config RTAS_FW
depends on PPC_RTAS
default n

config MMIO_NVRAM
bool
default n

config MPIC_BROKEN_U3
bool
depends on PPC_MAPLE
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/sysdev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ obj-$(CONFIG_PPC_MPC106) += grackle.o
obj-$(CONFIG_BOOKE) += dcr.o
obj-$(CONFIG_40x) += dcr.o
obj-$(CONFIG_U3_DART) += u3_iommu.o
obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/ppc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endif

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

obj-$(CONFIG_KEXEC) += machine_kexec.o
Expand Down

0 comments on commit edf03c1

Please sign in to comment.