diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-05-02 15:40:26 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-05-02 15:40:26 +0000 |
commit | 5d9b44d1109f82db715078d66f603a1628f9ecb9 (patch) | |
tree | 5a3541f1e5df7585e24ec8756c471d108ddf1b56 /target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch | |
parent | 643babfc3ca64d0fbb505cebbc1c1d92c270de1b (diff) | |
download | mtk-20170518-5d9b44d1109f82db715078d66f603a1628f9ecb9.zip mtk-20170518-5d9b44d1109f82db715078d66f603a1628f9ecb9.tar.gz mtk-20170518-5d9b44d1109f82db715078d66f603a1628f9ecb9.tar.bz2 |
use a define for the poll and debounce interval
SVN-Revision: 31550
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch b/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch index e90e6cc..2a86d35 100644 --- a/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch +++ b/target/linux/brcm63xx/patches-3.3/511-board_V2500V.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -318,6 +318,63 @@ static struct board_info __initdata boar +@@ -321,6 +321,63 @@ static struct board_info __initdata boar }, }; @@ -56,7 +56,7 @@ + .active_low = 1, + .type = EV_KEY, + .code = KEY_RESTART, -+ .debounce_interval = 60, ++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, + }, + }, +}; @@ -64,7 +64,7 @@ #endif /* -@@ -1784,6 +1841,7 @@ static const struct board_info __initdat +@@ -1787,6 +1844,7 @@ static const struct board_info __initdat &board_96348_D4PW, &board_spw500v, &board_96348sv, @@ -72,7 +72,7 @@ #endif #ifdef CONFIG_BCM63XX_CPU_6358 -@@ -1937,6 +1995,22 @@ void __init board_prom_init(void) +@@ -1940,6 +1998,22 @@ void __init board_prom_init(void) val = bcm_mpi_readl(MPI_CSBASE_REG(0)); val &= MPI_CSBASE_BASE_MASK; boot_addr = (u8 *)KSEG1ADDR(val); @@ -95,7 +95,7 @@ /* dump cfe version */ cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET; -@@ -2158,6 +2232,13 @@ int __init board_register_devices(void) +@@ -2161,6 +2235,13 @@ int __init board_register_devices(void) val = bcm_mpi_readl(MPI_CSBASE_REG(0)); val &= MPI_CSBASE_BASE_MASK; |