lpc32xx: cpu: add support for soft reset
authorSylvain Lemieux <slemieux@tycoint.com>
Mon, 27 Jul 2015 17:37:35 +0000 (13:37 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 17 Aug 2015 12:10:58 +0000 (08:10 -0400)
commit576007aec9a4a5f4f3dd1f690fb26a8c05ceb75f
tree858d958c37af0d320bf836cc02cfa67708d2d82c
parentd75b532a9e81a918852a3378e769d07dbfd59f15
lpc32xx: cpu: add support for soft reset

Add support for optional soft reset (i.e. "RESOUT_N" not asserted during reset).

To be compatible with the original U-Boot code, when the "addr" parameter is 0, a hard is performed; for any other values, a soft reset is done.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
arch/arm/cpu/arm926ejs/lpc32xx/cpu.c