summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10/528-board_nb6.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
commit8630d101b7db9c19b19c714bb3335042098ed2ee (patch)
treead1832c7312bc629fa5edc5d6448ab17c746ab90 /target/linux/brcm63xx/patches-3.10/528-board_nb6.patch
parenta6c4ef18b7de3d3840729abb2775e8dd5843be0d (diff)
downloadmaster-31e0f0ae-8630d101b7db9c19b19c714bb3335042098ed2ee.tar.gz
master-31e0f0ae-8630d101b7db9c19b19c714bb3335042098ed2ee.tar.bz2
master-31e0f0ae-8630d101b7db9c19b19c714bb3335042098ed2ee.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> SVN-Revision: 41550
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/528-board_nb6.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.10/528-board_nb6.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/528-board_nb6.patch b/target/linux/brcm63xx/patches-3.10/528-board_nb6.patch
index 67d95f906f..f0f18ea456 100644
--- a/target/linux/brcm63xx/patches-3.10/528-board_nb6.patch
+++ b/target/linux/brcm63xx/patches-3.10/528-board_nb6.patch
@@ -1,14 +1,14 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -18,6 +18,7 @@
- #if 0 /* FIXME: 3.14 removed non-DT support */
+@@ -16,6 +16,7 @@
+ #include <linux/spi/spi.h>
+ #include <linux/spi/spi_gpio.h>
#include <linux/spi/74x164.h>
- #endif
+#include <linux/rtl8367.h>
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
-@@ -634,6 +635,8 @@ static struct board_info __initdata boar
+@@ -44,6 +45,8 @@
#define NB4_SPI_GPIO_MOSI 7
#define NB4_SPI_GPIO_CLK 6
#define NB4_74HC64_GPIO(X) (NB4_74X164_GPIO_BASE + (X))
@@ -17,7 +17,7 @@
#define CT6373_PID_OFFSET 0xff80
#define CT6373_74X164_GPIO_BASE 64
-@@ -2664,6 +2667,104 @@ static struct board_info __initdata boar
+@@ -2653,6 +2656,104 @@ static struct board_info __initdata boar
};
#endif
@@ -122,7 +122,7 @@
/*
* known 6368 boards
*/
-@@ -2870,6 +2971,10 @@ static const struct board_info __initcon
+@@ -2859,6 +2960,10 @@ static const struct board_info __initcon
&board_DVAG3810BN,
#endif
@@ -133,7 +133,7 @@
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
-@@ -2891,6 +2996,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2880,6 +2985,11 @@ static void __init boardid_fixup(u8 *boo
}
}