openwrtv4/target/linux/brcm63xx/patches-3.14/552-board_96348gw-10_reset_button.patch
Jonas Gorski 76746026b3 brcm63xx: rework fallback sprom support
Rework fallback sprom support by providing different sproms for
different chips. Also make it optional to use.

This likely causes sprom fallback support to break on a few boards.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41942
2014-08-01 21:56:38 +00:00

20 lines
451 B
Diff

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -990,6 +990,17 @@ static struct board_info __initdata boar
.active_low = 1,
},
},
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 6,
+ .active_low = 1,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
};
static struct board_info __initdata board_96348gw_11 = {