summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap3/omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/omap.h')
-rw-r--r--arch/arm/include/asm/arch-omap3/omap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-omap3/omap.h b/arch/arm/include/asm/arch-omap3/omap.h
index 2c94a814ef..bc0e02a200 100644
--- a/arch/arm/include/asm/arch-omap3/omap.h
+++ b/arch/arm/include/asm/arch-omap3/omap.h
@@ -249,6 +249,8 @@ struct gpio {
/* ABB tranxdone mask */
#define OMAP_ABB_MPU_TXDONE_MASK (0x1 << 26)
+#define OMAP_REBOOT_REASON_OFFSET 0x04
+
/* Boot parameters */
#ifndef __ASSEMBLY__
struct omap_boot_parameters {
@@ -260,9 +262,9 @@ struct omap_boot_parameters {
unsigned int boot_device_descriptor;
};
-char omap_reboot_mode(void);
+int omap_reboot_mode(char *mode, unsigned int length);
int omap_reboot_mode_clear(void);
-int omap_reboot_mode_store(char c);
+int omap_reboot_mode_store(char *mode);
#endif
#endif
OpenPOWER on IntegriCloud