diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 18:26:42 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 19:10:48 (GMT) |
commit | 90ca5dfec4406bd0d6759395d8d24cb401be2c28 (patch) | |
tree | 0722c6d056a367b6b43c0c56f11d542de4a6bca6 /arch/arm/include | |
parent | c5412b084bf95781c54463570f96059a1d99d363 (diff) | |
download | u-boot-90ca5dfec4406bd0d6759395d8d24cb401be2c28.tar.xz |
omap3: Use a define for reboot reason offset
This introduces a define for the offset to the reboot reason, rather than
hardcoding it.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/omap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/omap.h b/arch/arm/include/asm/arch-omap3/omap.h index 4044b8d..bc0e02a 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 { |