|
|
| File: [Development] / linux-2.6-xfs / include / asm-arm / arch-sa1100 / Attic / system.h (download)
Revision 1.3, Mon Dec 5 21:19:08 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.15-rc5. Merge of 2.6.x-xfs-melb:linux:24672a by kenmcd. |
/*
* linux/include/asm-arm/arch-sa1100/system.h
*
* Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
*/
#include <linux/config.h>
#include <asm/hardware.h>
static inline void arch_idle(void)
{
cpu_do_idle();
}
static inline void arch_reset(char mode)
{
if (mode == 's') {
/* Jump into ROM at address 0 */
cpu_reset(0);
} else {
/* Use on-chip reset capability */
RSRR = RSRR_SWR;
}
}