aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-08 12:27:55 +0000
committerJonas Gorski <jogo@openwrt.org>2014-07-08 12:27:55 +0000
commit5787156b55216dd241ead36f56f058ff77d92110 (patch)
treee88a8d6d871fd14530988418998e002f152bc427 /target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch
parentbbf839a3e399e36a66ffab7a65797ba254b4ec1d (diff)
downloadmaster-187ad058-5787156b55216dd241ead36f56f058ff77d92110.tar.gz
master-187ad058-5787156b55216dd241ead36f56f058ff77d92110.tar.bz2
master-187ad058-5787156b55216dd241ead36f56f058ff77d92110.zip
brcm63xx: fixup patches borked by allowing too much fuzz
Move defines and board_info structs back to their proper locations so (de-)selecting SOC support won't break the build. Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41550 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch b/target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch
index 33744fdab6..a206abab92 100644
--- a/target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch
+++ b/target/linux/brcm63xx/patches-3.10/304-boardid_fixup.patch
@@ -8,16 +8,16 @@
#define PFX "board_bcm963xx: "
-@@ -339,6 +340,9 @@ static struct board_info __initdata boar
- .force_duplex_full = 1,
- },
+@@ -31,6 +32,9 @@
+ #define BCM963XX_KEYS_POLL_INTERVAL 20
+ #define BCM963XX_KEYS_DEBOUNCE_INTERVAL (BCM963XX_KEYS_POLL_INTERVAL * 3)
+#define CFE_OFFSET_64K 0x10000
+#define CFE_OFFSET_128K 0x20000
+
-
- .has_ohci0 = 1,
- .has_pccard = 1,
+ /*
+ * known 3368 boards
+ */
@@ -722,6 +726,30 @@ static const struct board_info __initcon
#endif
};