2014-01-31 10:33:12 +00:00
|
|
|
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
|
2010-08-27 17:01:23 +00:00
|
|
|
*
|
2011-02-15 00:15:26 +00:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
|
|
* only version 2 as published by the Free Software Foundation.
|
2010-08-27 17:01:23 +00:00
|
|
|
*
|
2011-02-15 00:15:26 +00:00
|
|
|
* 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.
|
2013-02-20 02:59:40 +00:00
|
|
|
*
|
2010-08-27 17:01:23 +00:00
|
|
|
*/
|
|
|
|
|
2013-02-20 02:59:40 +00:00
|
|
|
#ifndef _ASM_ARCH_MSM_RESTART_H_
|
|
|
|
#define _ASM_ARCH_MSM_RESTART_H_
|
2010-08-27 17:01:23 +00:00
|
|
|
|
2013-02-20 02:59:40 +00:00
|
|
|
#define RESTART_NORMAL 0x0
|
|
|
|
#define RESTART_DLOAD 0x1
|
2010-08-27 17:01:23 +00:00
|
|
|
|
2013-02-20 02:59:40 +00:00
|
|
|
void msm_set_restart_mode(int mode);
|
|
|
|
extern int pmic_reset_irq;
|
2010-08-27 17:01:23 +00:00
|
|
|
|
|
|
|
#endif
|
2013-02-20 02:59:40 +00:00
|
|
|
|