From b15431ba969750677ab8bc270a0c9b1e91b38571 Mon Sep 17 00:00:00 2001 From: kaloz Date: Mon, 1 Jun 2009 18:08:08 +0000 Subject: register the watchdog on the wbd111 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16267 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/gemini/patches/002-wbd111_support.patch | 3 ++- target/linux/gemini/patches/003-wbd111-static-flash-map.patch | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/gemini') diff --git a/target/linux/gemini/patches/002-wbd111_support.patch b/target/linux/gemini/patches/002-wbd111_support.patch index 51b2db519..059006d0d 100644 --- a/target/linux/gemini/patches/002-wbd111_support.patch +++ b/target/linux/gemini/patches/002-wbd111_support.patch @@ -1,6 +1,6 @@ --- /dev/null +++ b/arch/arm/mach-gemini/board-wbd111.c -@@ -0,0 +1,124 @@ +@@ -0,0 +1,125 @@ +/* + * Support for Wiliboard WBD-111 + * @@ -109,6 +109,7 @@ +{ + gemini_gpio_init(); + platform_register_uart(); ++ platform_register_watchdog(); + platform_register_pflash(SZ_8M, NULL, 0); + platform_device_register(&wbd111_leds_device); + platform_device_register(&wbd111_keys_device); diff --git a/target/linux/gemini/patches/003-wbd111-static-flash-map.patch b/target/linux/gemini/patches/003-wbd111-static-flash-map.patch index a226eb77f..1b9debb62 100644 --- a/target/linux/gemini/patches/003-wbd111-static-flash-map.patch +++ b/target/linux/gemini/patches/003-wbd111-static-flash-map.patch @@ -9,7 +9,7 @@ #include #include #include -@@ -102,11 +104,50 @@ static struct sys_timer wbd111_timer = { +@@ -102,12 +104,51 @@ static struct sys_timer wbd111_timer = { .init = gemini_timer_init, }; @@ -55,6 +55,7 @@ { gemini_gpio_init(); platform_register_uart(); + platform_register_watchdog(); - platform_register_pflash(SZ_8M, NULL, 0); + platform_register_pflash(SZ_8M, wbd111_partitions, + wbd111_num_partitions); -- cgit v1.2.3