ARM: SAMSUNG: Use local definitions of watchdog registers
authorTomasz Figa <tomasz.figa@gmail.com>
Mon, 17 Jun 2013 14:45:29 +0000 (23:45 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 18 Jun 2013 18:13:15 +0000 (03:13 +0900)
commitfa26c71aaf14c7aa46f02fb85b1ee58b4081d4d3
tree80b61a5666c9f6c00393e126ea0fec912a8bfe5e
parenta8f5401af90f415a978a37b34a201d573cd46b58
ARM: SAMSUNG: Use local definitions of watchdog registers

This patch adds local definitions of required watchdog registers and
bitfields to the uncompress header, allowing to remove the dependency on
plat/regs-watchdog.h header and the ugly hack to replace virtual with
physical addresses.

In addition, it fixes reboot on decompression failure feature, due to
the mentioned ugly hack not working anymore (the macro being redefined
got renamed, without fixing this code).

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/uncompress.h