diff options
author | Pawel Szyszuk <pawel.szyszuk@stericsson.com> | 2011-06-20 15:28:34 +0200 |
---|---|---|
committer | said m bagheri <ebgheri@steludxu2848.(none)> | 2011-06-29 10:30:37 +0200 |
commit | 9823ce7cca55af157e0be4afac3fe5f1a12dd3a4 (patch) | |
tree | e2739bb5e9f1813c1b5704ef4da78e7502182515 /arch/arm/mach-ux500/include/mach/prcmu-db5500.h | |
parent | 2c6bb60b3e9bd6daba5f0846575f2b10901ec059 (diff) |
ARM: u5500: PRCMU reset API
Added API for rebooting the board and for getting the last reboot code.
ST-Ericsson ID: 341245
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I0dbc2f70727a6cc52a3e9522ad1c3dcf8525308c
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25494
Reviewed-by: QATOOLS
Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
A mer
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/prcmu-db5500.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/prcmu-db5500.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-ux500/include/mach/prcmu-db5500.h b/arch/arm/mach-ux500/include/mach/prcmu-db5500.h index 97f0f5e7e68..3f31bef433a 100644 --- a/arch/arm/mach-ux500/include/mach/prcmu-db5500.h +++ b/arch/arm/mach-ux500/include/mach/prcmu-db5500.h @@ -25,9 +25,7 @@ int prcmu_resetout(u8 resoutn, u8 state); int db5500_prcmu_set_power_state(u8 state, bool keep_ulp_clk, bool keep_ap_pll); int db5500_prcmu_config_esram0_deep_sleep(u8 state); - -static inline void db5500_prcmu_system_reset(u16 reset_code) {} - +void db5500_prcmu_system_reset(u16 reset_code); u16 db5500_prcmu_get_reset_code(void); bool db5500_prcmu_is_ac_wake_requested(void); int db5500_prcmu_set_arm_opp(u8 opp); @@ -35,9 +33,7 @@ int db5500_prcmu_get_arm_opp(void); #else /* !CONFIG_UX500_SOC_DB5500 */ -static inline void db5500_prcmu_early_init(void) -{ -} +static inline void db5500_prcmu_early_init(void) {} static inline int db5500_prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size) { @@ -95,6 +91,8 @@ static inline int db5500_prcmu_set_power_state(u8 state, bool keep_ulp_clk, return 0; } +static inline void db5500_prcmu_system_reset(u16 reset_code) {} + static inline u16 db5500_prcmu_get_reset_code(void) { return 0; |