register the watchdog on the wbd111

SVN-Revision: 16267
master
Imre Kaloz 16 years ago
parent 154ebf9380
commit ae3da8d594
  1. 3
      target/linux/gemini/patches/002-wbd111_support.patch
  2. 3
      target/linux/gemini/patches/003-wbd111-static-flash-map.patch

@ -1,6 +1,6 @@
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-gemini/board-wbd111.c +++ b/arch/arm/mach-gemini/board-wbd111.c
@@ -0,0 +1,124 @@ @@ -0,0 +1,125 @@
+/* +/*
+ * Support for Wiliboard WBD-111 + * Support for Wiliboard WBD-111
+ * + *
@ -109,6 +109,7 @@
+{ +{
+ gemini_gpio_init(); + gemini_gpio_init();
+ platform_register_uart(); + platform_register_uart();
+ platform_register_watchdog();
+ platform_register_pflash(SZ_8M, NULL, 0); + platform_register_pflash(SZ_8M, NULL, 0);
+ platform_device_register(&wbd111_leds_device); + platform_device_register(&wbd111_leds_device);
+ platform_device_register(&wbd111_keys_device); + platform_device_register(&wbd111_keys_device);

@ -9,7 +9,7 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/time.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, .init = gemini_timer_init,
}; };
@ -55,6 +55,7 @@
{ {
gemini_gpio_init(); gemini_gpio_init();
platform_register_uart(); platform_register_uart();
platform_register_watchdog();
- platform_register_pflash(SZ_8M, NULL, 0); - platform_register_pflash(SZ_8M, NULL, 0);
+ platform_register_pflash(SZ_8M, wbd111_partitions, + platform_register_pflash(SZ_8M, wbd111_partitions,
+ wbd111_num_partitions); + wbd111_num_partitions);

Loading…
Cancel
Save