diff options
author | Kumar, Anil <anilkumar.v@ti.com> | 2013-02-06 08:00:04 +0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-02-09 21:08:26 +0400 |
commit | 19c7c0d81a9b1fe7342d0208b629b5e085e4f3ae (patch) | |
tree | e4cb237a865be1b94115cd8afc836009f14b5928 /arch/score/include/asm/current.h | |
parent | 518f97dbb8d047f54c9f9f9b970fb42e1a6c8184 (diff) | |
download | linux-19c7c0d81a9b1fe7342d0208b629b5e085e4f3ae.tar.xz |
ARM: davinci: da850 DT: add support for machine reboot
Update the da8xx_restart() function to support machine reboot
when booting using DT. Have the function search for the watchdog
platform device instead of always using "da8xx_wdt_device" which
is never registered in DT case.
While at it, also make da8xx_wdt_device static since there is no need
for it to be globally visible.
Tested machine reboot with both DT and non-DT boot on DA850 EVM.
Signed-off-by: Kumar, Anil <anilkumar.v@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/score/include/asm/current.h')
0 files changed, 0 insertions, 0 deletions