Ignore:
Timestamp:
2012-05-02T17:40:26+02:00 (4 years ago)
Author:
florian
Message:

[brcm63xx] use a define for the poll and debounce interval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch

    r31130 r31550  
    11--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    22+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    3 @@ -29,9 +29,13 @@ 
     3@@ -29,12 +29,16 @@ 
    44 #include <bcm63xx_dev_pcmcia.h> 
    55 #include <bcm63xx_dev_spi.h> 
     
    99 #define PFX    "board_bcm963xx: " 
    1010  
     11 #define BCM963XX_KEYS_POLL_INTERVAL            20 
     12 #define BCM963XX_KEYS_DEBOUNCE_INTERVAL        (BCM963XX_KEYS_POLL_INTERVAL * 3) 
     13  
    1114+#define CFE_OFFSET_64K         0x10000 
    1215+#define CFE_OFFSET_128K                0x20000 
     
    1518 static unsigned int mac_addr_used; 
    1619 static struct board_info board; 
    17 @@ -722,6 +726,29 @@ static int board_get_mac_address(u8 *mac 
     20@@ -725,6 +729,29 @@ static int board_get_mac_address(u8 *mac 
    1821        return 0; 
    1922 } 
     
    4548  * early init callback, read nvram data from flash and checksum it 
    4649  */ 
    47 @@ -763,6 +790,11 @@ void __init board_prom_init(void) 
     50@@ -766,6 +793,11 @@ void __init board_prom_init(void) 
    4851                return; 
    4952        } 
Note: See TracChangeset for help on using the changeset viewer.