X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/91207ae10128bd35e281e65858f33163ec17b38c..807dad190f2e9a4fd7651808e33d2d8992c7d700:/target/linux/gemini/patches/003-wbd111-static-flash-map.patch 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 9a2b2bd29..1b9debb62 100644 --- a/target/linux/gemini/patches/003-wbd111-static-flash-map.patch +++ b/target/linux/gemini/patches/003-wbd111-static-flash-map.patch @@ -1,14 +1,15 @@ --- a/arch/arm/mach-gemini/board-wbd111.c +++ b/arch/arm/mach-gemini/board-wbd111.c -@@ -15,6 +15,7 @@ - #include +@@ -16,6 +16,8 @@ + #include #include #include ++#include +#include #include #include #include -@@ -101,11 +102,50 @@ static struct sys_timer wbd111_timer = { +@@ -102,12 +104,51 @@ static struct sys_timer wbd111_timer = { .init = gemini_timer_init, }; @@ -54,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);