register the watchdog on the wbd111
authorImre Kaloz <kaloz@openwrt.org>
Mon, 1 Jun 2009 18:08:08 +0000 (18:08 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Mon, 1 Jun 2009 18:08:08 +0000 (18:08 +0000)
SVN-Revision: 16267

target/linux/gemini/patches/002-wbd111_support.patch
target/linux/gemini/patches/003-wbd111-static-flash-map.patch

index 51b2db51967414214b11d0f32d9942e8c8366194..059006d0d48469624b2baa2d972ba229368368a8 100644 (file)
@@ -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
 + *
 +{
 +      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);
index a226eb77f6a1e85234d4ae4e62b4e3e0f077bd9f..1b9debb62d5fe6af80ff5b31eaaaf4de8087fa7b 100644 (file)
@@ -9,7 +9,7 @@
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/time.h>
-@@ -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);