MCF5271-only: Added a weak board_reset function to allow custom reset
authorRichard Retanubun <RichardRetanubun at RuggedCom.com>
Mon, 26 Oct 2009 18:19:17 +0000 (14:19 -0400)
committerTsiChung Liew <tsicliew@gmail.com>
Thu, 4 Mar 2010 07:46:49 +0000 (01:46 -0600)
commitbb907ab51fd04255923b7ecf9dab352078808351
tree845252bb3e76fad2aa3889b37e716edcc8eb356c
parent992d7129500d239d684c15fa2d61e0a8f2e64457
MCF5271-only: Added a weak board_reset function to allow custom reset

This patch adds a board_reset function to allow boards to specify
their own custom reset sequence (e.g. resetting by timing out watchdog).
Tested only on MCF5271, can be expanded if needed.

Based on Mike Frysinger's suggestion on:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/70304

Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>
cpu/mcf52x2/cpu.c
cpu/mcf52x2/cpu.h [new file with mode: 0644]