build: Prevent more gzip timestamps
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 513-MIPS-BCM63XX-add-inventel-Livebox-support.patch
index 3414379969db558b41496acdb1250a46e6daadc0..3842f7b9ce4310c3569f43014b7b9c1cfdb94856 100644 (file)
@@ -57,7 +57,7 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
  #endif /* __BOARD_COMMON_H */
 --- /dev/null
 +++ b/arch/mips/bcm63xx/boards/board_livebox.c
-@@ -0,0 +1,215 @@
+@@ -0,0 +1,164 @@
 +/*
 + * This file is subject to the terms and conditions of the GNU General Public
 + * License.  See the file "COPYING" in the main directory of this archive
@@ -82,9 +82,6 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
 +
 +#define PFX   "board_livebox: "
 +
-+#define LIVEBOX_KEYS_POLL_INTERVAL    20
-+#define LIVEBOX_KEYS_DEBOUNCE_INTERVAL        (LIVEBOX_KEYS_POLL_INTERVAL * 3)
-+
 +static unsigned int mac_addr_used = 0;
 +
 +/*
@@ -111,7 +108,7 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
 +      },
 +
 +      .ephy_reset_gpio                = 6,
-+      .ephy_reset_gpio_flags          = GPIOF_INIT_HIGH,
++      .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
 +
 +      .has_ohci0                      = 1,
 +      .has_pccard                     = 1,
@@ -123,54 +120,6 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
 +              .cs                     = 2,
 +              .ext_irq                = 2,
 +      },
-+
-+      .leds = {
-+              {
-+                      .name           = "Livebox-blue-5g:red:adsl-fail",
-+                      .gpio           = 0,
-+                      .active_low     = 0,
-+                      .default_trigger = "default-on",
-+              },
-+              {
-+                      .name           = "Livebox-blue-5g:red:adsl",
-+                      .gpio           = 1,
-+              },
-+              {
-+                      .name           = "Livebox-blue-5g:red:traffic",
-+                      .gpio           = 2,
-+              },
-+              {
-+                      .name           = "Livebox-blue-5g:red:phone",
-+                      .gpio           = 3,
-+              },
-+              {
-+                      .name           = "Livebox-blue-5g:red:wifi",
-+                      .gpio           = 4,
-+              },
-+      },
-+
-+      .buttons = {
-+              {
-+                      .desc           = "BTN_1",
-+                      .gpio           = 36,
-+                      .active_low     = 1,
-+                      .type           = EV_KEY,
-+                      .code           = BTN_1,
-+                      .debounce_interval = LIVEBOX_KEYS_DEBOUNCE_INTERVAL,
-+              },
-+              {
-+                      .desc           = "BTN_2",
-+                      .gpio           = 7,
-+                      .active_low     = 1,
-+                      .type           = EV_KEY,
-+                      .code           = BTN_2,
-+                      .debounce_interval = LIVEBOX_KEYS_DEBOUNCE_INTERVAL,
-+              },
-+
-+      },
-+
-+      .ephy_reset_gpio                = 6,
-+      .ephy_reset_gpio_flags          = GPIOF_INIT_HIGH,
 +};
 +#endif
 +