aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.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
commit3b703b5dd7a111aefee2ebb36dbf8d82af64c266 (patch)
tree0a56cab123ff3d02e60d7a34b9b790bc5b5c0640 /target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch
parent647c40e6dc9394fd6ba09cbef53c345f714f8bcf (diff)
downloadmaster-187ad058-3b703b5dd7a111aefee2ebb36dbf8d82af64c266.tar.gz
master-187ad058-3b703b5dd7a111aefee2ebb36dbf8d82af64c266.tar.bz2
master-187ad058-3b703b5dd7a111aefee2ebb36dbf8d82af64c266.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42119 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch b/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch
new file mode 100644
index 0000000000..c89873d260
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch
@@ -0,0 +1,24 @@
+From e8c11c43a9eb8171d150850c498bc75205681ab8 Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Thu, 26 Jun 2014 12:49:33 +0200
+Subject: [PATCH 46/48] MIPS: BCM63XX: expand board_info with an of compatible
+ string
+
+It will be used for matching board_info structs to a passed dtb until
+bcm63xx is fully converted.
+
+Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+---
+ arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -21,6 +21,7 @@
+ */
+ struct board_info {
+ u8 name[16];
++ u8 of_board_id[32];
+ unsigned int expected_cpu_id;
+
+ /* enabled feature/device */