82510385d88a3c9d07a7b112fc9e5df5bc327b33
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / 85xx / mpc85xx.c
1 /*
2  * MPC85xx generic code.
3  *
4  * Maintained by Kumar Gala (see MAINTAINERS for contact information)
5  *
6  * Copyright 2005 Freescale Semiconductor Inc.
7  *
8  * This program is free software; you can redistribute  it and/or modify it
9  * under  the terms of  the GNU General  Public License as published by the
10  * Free Software Foundation;  either version 2 of the  License, or (at your
11  * option) any later version.
12  */
13 #include <linux/irq.h>
14 #include <linux/module.h>
15 #include <asm/irq.h>
16
17 extern void abort(void);
18
19 void
20 mpc85xx_restart(char *cmd)
21 {
22         local_irq_disable();
23         abort();
24 }
25
26 /* For now this is a pass through */
27 phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
28 {
29         return addr;
30 };
31 EXPORT_SYMBOL(fixup_bigphys_addr);