2006-01-15 06:57:39 +08:00
|
|
|
/*
|
|
|
|
* 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);
|
|
|
|
|
2006-02-08 11:27:34 +08:00
|
|
|
void mpc85xx_restart(char *cmd)
|
2006-01-15 06:57:39 +08:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
};
|
2006-02-08 11:27:34 +08:00
|
|
|
|
2006-01-15 06:57:39 +08:00
|
|
|
EXPORT_SYMBOL(fixup_bigphys_addr);
|