summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/mpc85xx.c
diff options
context:
space:
mode:
authorBecky Bruce <bgill@freescale.com>2006-01-14 16:57:39 -0600
committerPaul Mackerras <paulus@samba.org>2006-01-20 16:11:06 +1100
commit63dafe5728e7354bc3f15bd49f13f1f9a433e8fb (patch)
tree51ca2135b5c5952d79a636e91f9db9efde9bfe43 /arch/powerpc/platforms/85xx/mpc85xx.c
parent837e9594fc3cb9a06bddd7ecf66151334a2e13d2 (diff)
downloadtalos-op-linux-63dafe5728e7354bc3f15bd49f13f1f9a433e8fb.tar.gz
talos-op-linux-63dafe5728e7354bc3f15bd49f13f1f9a433e8fb.zip
[PATCH] powerpc: Updated Initial MPC8540 ADS port with OF Flat Dev
Updated patch for support for mpc8540_ads in arch/powerpc with a flat OF device tree. This patch does not yet support PCI or I2C. Signed-off-by: Becky Bruce <becky.bruce@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx.c')
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx.c b/arch/powerpc/platforms/85xx/mpc85xx.c
new file mode 100644
index 000000000000..82510385d88a
--- /dev/null
+++ b/arch/powerpc/platforms/85xx/mpc85xx.c
@@ -0,0 +1,31 @@
+/*
+ * MPC85xx generic code.
+ *
+ * Maintained by Kumar Gala (see MAINTAINERS for contact information)
+ *
+ * Copyright 2005 Freescale Semiconductor Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ */
+#include <linux/irq.h>
+#include <linux/module.h>
+#include <asm/irq.h>
+
+extern void abort(void);
+
+void
+mpc85xx_restart(char *cmd)
+{
+ local_irq_disable();
+ abort();
+}
+
+/* For now this is a pass through */
+phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
+{
+ return addr;
+};
+EXPORT_SYMBOL(fixup_bigphys_addr);
OpenPOWER on IntegriCloud