aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-11 11:36:48 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-11 11:36:48 +0000
commitde8e3f2f86b26650480f9619f42281eed228b4c9 (patch)
tree56fb9a7db31c57f940bc0306ed9b433d2995bf43 /target/linux/brcm63xx/patches-3.14/534-board_hw556.patch
parentb61f57a5c7ba71b0b4b5af2e96afbcb47f698b83 (diff)
downloadupstream-de8e3f2f86b26650480f9619f42281eed228b4c9.tar.gz
upstream-de8e3f2f86b26650480f9619f42281eed228b4c9.tar.bz2
upstream-de8e3f2f86b26650480f9619f42281eed228b4c9.zip
brcm63xx: add and enable support for loading an appended dtb
Allow appending a dtb blob to the binary and use it for identifying the board. Fall back to nvram based identification in case of no dtb passed. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42119
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/534-board_hw556.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/534-board_hw556.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch
index 3473bda472..32b2ad6ad1 100644
--- a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch
+++ b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch
@@ -8,7 +8,7 @@
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
-@@ -2984,6 +2985,492 @@ static struct board_info __initdata boar
+@@ -3001,6 +3002,492 @@ static struct board_info __initdata boar
},
};
@@ -501,7 +501,7 @@
/* T-Home Speedport W 303V Typ B */
static struct board_info __initdata board_spw303v = {
.name = "96358-502V",
-@@ -3423,6 +3910,10 @@ static const struct board_info __initcon
+@@ -3440,6 +3927,10 @@ static const struct board_info __initcon
&board_nb4_fxc_r2,
&board_ct6373_1,
&board_HW553,
@@ -512,7 +512,7 @@
&board_spw303v,
&board_DVAG3810BN,
#endif
-@@ -3442,13 +3933,37 @@ static void __init boardid_fixup(u8 *boo
+@@ -3459,13 +3950,37 @@ static void __init boardid_fixup(u8 *boo
struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
char *board_name = (char *)bcm63xx_nvram_get_name();