2008-08-05 09:14:15 -06:00
|
|
|
/* arch/arm/mach-msm/include/mach/system.h
|
2007-11-26 05:11:43 -07:00
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Google, Inc.
|
|
|
|
*
|
|
|
|
* This software is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
|
|
* may be copied, distributed, and modified under those terms.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2008-08-05 09:14:15 -06:00
|
|
|
#include <mach/hardware.h>
|
2007-11-26 05:11:43 -07:00
|
|
|
|
|
|
|
void arch_idle(void);
|
|
|
|
|
2009-03-19 10:20:24 -06:00
|
|
|
static inline void arch_reset(char mode, const char *cmd)
|
2007-11-26 05:11:43 -07:00
|
|
|
{
|
|
|
|
for (;;) ; /* depends on IPC w/ other core */
|
|
|
|
}
|
2008-09-29 17:00:48 -06:00
|
|
|
|
|
|
|
/* low level hardware reset hook -- for example, hitting the
|
|
|
|
* PSHOLD line on the PMIC to hard reset the system
|
|
|
|
*/
|
|
|
|
extern void (*msm_hw_reset_hook)(void);
|