ARM: ep93xx: Disable TS-72xx watchdog before uncompressing
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 2 Feb 2017 20:12:26 +0000 (12:12 -0800)
committerArnd Bergmann <arnd@arndb.de>
Tue, 7 Feb 2017 15:02:34 +0000 (16:02 +0100)
commit7781e61b5ba09a22e719636ae8b5a3186df438fc
tree3bf8630eb354191310b637d585f1b8b10173d8a8
parent4b483ed0be8b4aa8006300d502148aa4548fb261
ARM: ep93xx: Disable TS-72xx watchdog before uncompressing

The TS-72xx/73xx boards have a CPLD watchdog which is configured to
reset the board after 8 seconds, if the kernel is large enough that this
takes about this time to decompress the kernel, we will encounter a
spurious reboot.

Do not pull ts72xx.h, but instead locally define what we need to disable
the watchdog.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ep93xx/include/mach/uncompress.h