omap3: Use a define for reboot reason offset
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Feb 2016 18:26:42 +0000 (19:26 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:10:48 +0000 (15:10 -0400)
commit90ca5dfec4406bd0d6759395d8d24cb401be2c28
tree0722c6d056a367b6b43c0c56f11d542de4a6bca6
parentc5412b084bf95781c54463570f96059a1d99d363
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>
arch/arm/cpu/armv7/omap3/boot.c
arch/arm/include/asm/arch-omap3/omap.h