summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/86xx/gef_sbc610.c
diff options
context:
space:
mode:
authorMartyn Welch <martyn.welch@gefanuc.com>2009-07-02 17:12:31 +0100
committerKumar Gala <galak@kernel.crashing.org>2009-11-20 16:45:35 -0600
commit0d81df8701d0972117008911bf00ebb1eef1471f (patch)
treebeb1eb44a351a79beee0f47a7508598ad4fc12c3 /arch/powerpc/platforms/86xx/gef_sbc610.c
parenta3f62bd2b20c769ddc989b242ddd274179e19ee6 (diff)
powerpc/86xx: Enable NVRAM on GE Fanuc's SBC610
This patch enables the NVRAM found on the GE Fanuc SBC610 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_sbc610.c')
-rw-r--r--arch/powerpc/platforms/86xx/gef_sbc610.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/86xx/gef_sbc610.c b/arch/powerpc/platforms/86xx/gef_sbc610.c
index 72b31a6010a..e10688a0fc4 100644
--- a/arch/powerpc/platforms/86xx/gef_sbc610.c
+++ b/arch/powerpc/platforms/86xx/gef_sbc610.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_sbc610_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 */