aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach
diff options
context:
space:
mode:
authorKumar, Anil <anilkumar.v@ti.com>2013-02-05 23:00:04 -0500
committerSekhar Nori <nsekhar@ti.com>2013-02-09 12:08:26 -0500
commit19c7c0d81a9b1fe7342d0208b629b5e085e4f3ae (patch)
treee4cb237a865be1b94115cd8afc836009f14b5928 /arch/arm/mach-davinci/include/mach
parent518f97dbb8d047f54c9f9f9b970fb42e1a6c8184 (diff)
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/arm/mach-davinci/include/mach')
-rw-r--r--arch/arm/mach-davinci/include/mach/da8xx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h
index 700d311c6854..ef9f70ea30a0 100644
--- a/arch/arm/mach-davinci/include/mach/da8xx.h
+++ b/arch/arm/mach-davinci/include/mach/da8xx.h
@@ -112,7 +112,6 @@ extern struct da8xx_lcdc_platform_data sharp_lcd035q3dg01_pdata;
112extern struct da8xx_lcdc_platform_data sharp_lk043t1dg01_pdata; 112extern struct da8xx_lcdc_platform_data sharp_lk043t1dg01_pdata;
113extern struct davinci_spi_platform_data da8xx_spi_pdata[]; 113extern struct davinci_spi_platform_data da8xx_spi_pdata[];
114 114
115extern struct platform_device da8xx_wdt_device;
116 115
117extern const short da830_emif25_pins[]; 116extern const short da830_emif25_pins[];
118extern const short da830_spi0_pins[]; 117extern const short da830_spi0_pins[];