storm: Add watchdog reset api

Hardware / Coreboot - Deepa Dinamani [codeaurora.org] - 15 April 2015 14:57 UTC

Use the apps processor watchdog reset to do a hard reset. The watchdog reset drives the RESETOUT on the chip.

Modify register address definitions to be able to use pointers and pointer arithmetics.

BRANCH=storm BUG=chrome-os-partner:34334 TEST=the chip resets and the control returns to start of SBL.

Change-Id: Ib5772ab152b27058fde1be9de2d2ac26bfe00ca4

18e434d storm: Add watchdog reset api.
src/mainboard/google/storm/reset.c | 30 ++++++++++++++++++++++++--
src/soc/qualcomm/ipq806x/include/soc/iomap.h | 4 ++--
2 files changed, 30 insertions(+), 4 deletions(-)

Upstream: review.coreboot.org


  • Share