diff options
Diffstat (limited to 'arch/arm/mach-omap2/prm33xx.h')
-rw-r--r-- | arch/arm/mach-omap2/prm33xx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm33xx.h b/arch/arm/mach-omap2/prm33xx.h index 3f25c563a821..9b9918dfb119 100644 --- a/arch/arm/mach-omap2/prm33xx.h +++ b/arch/arm/mach-omap2/prm33xx.h | |||
@@ -117,6 +117,7 @@ | |||
117 | #define AM33XX_PM_CEFUSE_PWRSTST_OFFSET 0x0004 | 117 | #define AM33XX_PM_CEFUSE_PWRSTST_OFFSET 0x0004 |
118 | #define AM33XX_PM_CEFUSE_PWRSTST AM33XX_PRM_REGADDR(AM33XX_PRM_CEFUSE_MOD, 0x0004) | 118 | #define AM33XX_PM_CEFUSE_PWRSTST AM33XX_PRM_REGADDR(AM33XX_PRM_CEFUSE_MOD, 0x0004) |
119 | 119 | ||
120 | #ifndef __ASSEMBLER__ | ||
120 | extern u32 am33xx_prm_read_reg(s16 inst, u16 idx); | 121 | extern u32 am33xx_prm_read_reg(s16 inst, u16 idx); |
121 | extern void am33xx_prm_write_reg(u32 val, s16 inst, u16 idx); | 122 | extern void am33xx_prm_write_reg(u32 val, s16 inst, u16 idx); |
122 | extern u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx); | 123 | extern u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx); |
@@ -124,6 +125,7 @@ extern void am33xx_prm_global_warm_sw_reset(void); | |||
124 | extern int am33xx_prm_is_hardreset_asserted(u8 shift, s16 inst, | 125 | extern int am33xx_prm_is_hardreset_asserted(u8 shift, s16 inst, |
125 | u16 rstctrl_offs); | 126 | u16 rstctrl_offs); |
126 | extern int am33xx_prm_assert_hardreset(u8 shift, s16 inst, u16 rstctrl_offs); | 127 | extern int am33xx_prm_assert_hardreset(u8 shift, s16 inst, u16 rstctrl_offs); |
127 | extern int am33xx_prm_deassert_hardreset(u8 shift, s16 inst, | 128 | extern int am33xx_prm_deassert_hardreset(u8 shift, u8 st_shift, s16 inst, |
128 | u16 rstctrl_offs, u16 rstst_offs); | 129 | u16 rstctrl_offs, u16 rstst_offs); |
130 | #endif /* ASSEMBLER */ | ||
129 | #endif | 131 | #endif |