mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
2f82af08fc
Due to problems at cam.org, my nico@cam.org email address is no longer valid. FRom now on, nico@fluxnic.net should be used instead. Signed-off-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
23 lines
397 B
C
23 lines
397 B
C
/*
|
|
* arch/arm/mach-sa1100/include/mach/system.h
|
|
*
|
|
* Copyright (c) 1999 Nicolas Pitre <nico@fluxnic.net>
|
|
*/
|
|
#include <mach/hardware.h>
|
|
|
|
static inline void arch_idle(void)
|
|
{
|
|
cpu_do_idle();
|
|
}
|
|
|
|
static inline void arch_reset(char mode, const char *cmd)
|
|
{
|
|
if (mode == 's') {
|
|
/* Jump into ROM at address 0 */
|
|
cpu_reset(0);
|
|
} else {
|
|
/* Use on-chip reset capability */
|
|
RSRR = RSRR_SWR;
|
|
}
|
|
}
|