blob: 26c5e822c7c8f211bf969ed869d5e3290fcaf28d [file] [log] [blame]
Becky Bruce63dafe52006-01-14 16:57:39 -06001/*
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
17extern void abort(void);
18
Becky Brucee19217d2006-02-07 21:27:34 -060019void mpc85xx_restart(char *cmd)
Becky Bruce63dafe52006-01-14 16:57:39 -060020{
21 local_irq_disable();
22 abort();
23}
24
25/* For now this is a pass through */
26phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
27{
28 return addr;
29};
Becky Brucee19217d2006-02-07 21:27:34 -060030
Becky Bruce63dafe52006-01-14 16:57:39 -060031EXPORT_SYMBOL(fixup_bigphys_addr);