aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-11 11:37:17 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-11 11:37:17 +0000
commit862f7fccb00cf5641c056dc5f23a0d85276bf26d (patch)
tree4914ec566eea940fa637f045bf813097cf158f85 /target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
parent52b0935efe803609153bf0c040efbe7578695aff (diff)
downloadupstream-862f7fccb00cf5641c056dc5f23a0d85276bf26d.tar.gz
upstream-862f7fccb00cf5641c056dc5f23a0d85276bf26d.tar.bz2
upstream-862f7fccb00cf5641c056dc5f23a0d85276bf26d.zip
brcm63xx: use dtb board detection for NB6
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42127
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/528-board_nb6.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/528-board_nb6.patch17
1 files changed, 3 insertions, 14 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch b/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
index 3474b34c60..9754c00fdf 100644
--- a/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
+++ b/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
@@ -17,7 +17,7 @@
#define CT6373_PID_OFFSET 0xff80
#define CT6373_74X164_GPIO_BASE 64
-@@ -2717,6 +2720,104 @@ static struct board_info __initdata boar
+@@ -2717,6 +2720,105 @@ static struct board_info __initdata boar
};
#endif /* CONFIG_BCM63XX_CPU_6358 */
@@ -56,6 +56,7 @@
+
+static struct board_info __initdata board_nb6 = {
+ .name = "NB6",
++ .of_board_id = "sfr,nb6-ser-r0",
+ .expected_cpu_id = 0x6362,
+
+ .has_uart0 = 1,
@@ -122,7 +123,7 @@
/*
* known 6368 boards
*/
-@@ -2923,6 +3024,10 @@ static const struct board_info __initcon
+@@ -2923,6 +3025,10 @@ static const struct board_info __initcon
&board_DVAG3810BN,
#endif
@@ -133,15 +134,3 @@
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
-@@ -2944,6 +3049,11 @@ static void __init boardid_fixup(u8 *boo
- }
- }
-
-+ if (BCMCPU_IS_6362() && (!strncmp(board_name, "NB6-", sizeof("NB6-") - 1))) {
-+ board_name[sizeof("NB6") - 1] = '\0';
-+ return ;
-+ }
-+
- /* check if bcm_tag is at 64k offset */
- if (strncmp(board_name, tag->board_id, BOARDID_LEN) != 0) {
- /* else try 128k */