diff options
author | 2009-07-02 17:12:37 +0100 | |
---|---|---|
committer | 2009-11-20 16:45:36 -0600 | |
commit | 9093067ad11b22c967b0cbf5532ecb25b0d7d983 (patch) | |
tree | 0e9df4139b243d8e8fdaf1dca77600e269ae9850 /arch/powerpc/platforms/86xx/gef_sbc310.c | |
parent | powerpc/86xx: Enable NVRAM on GE Fanuc's SBC610 (diff) | |
download | linux-dev-9093067ad11b22c967b0cbf5532ecb25b0d7d983.tar.xz linux-dev-9093067ad11b22c967b0cbf5532ecb25b0d7d983.zip |
powerpc/86xx: Support for NVRAM on GE Fanuc's SBC310
Add support for NVRAM on GE Fanuc's SBC310.
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/86xx/gef_sbc310.c')
-rw-r--r-- | arch/powerpc/platforms/86xx/gef_sbc310.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/86xx/gef_sbc310.c b/arch/powerpc/platforms/86xx/gef_sbc310.c index 90754e752bd8..6a1a613836c2 100644 --- a/arch/powerpc/platforms/86xx/gef_sbc310.c +++ b/arch/powerpc/platforms/86xx/gef_sbc310.c @@ -33,6 +33,7 @@ #include <asm/udbg.h> #include <asm/mpic.h> +#include <asm/nvram.h> #include <sysdev/fsl_pci.h> #include <sysdev/fsl_soc.h> @@ -95,6 +96,10 @@ static void __init gef_sbc310_setup_arch(void) printk(KERN_WARNING "Unable to map board registers\n"); of_node_put(regs); } + +#if defined(CONFIG_MMIO_NVRAM) + mmio_nvram_init(); +#endif } /* Return the PCB revision */ |