summaryrefslogtreecommitdiff
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
commitde8e3f2f86b26650480f9619f42281eed228b4c9 (patch)
tree56fb9a7db31c57f940bc0306ed9b433d2995bf43 /target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch
parentb61f57a5c7ba71b0b4b5af2e96afbcb47f698b83 (diff)
downloadmtk-20170518-de8e3f2f86b26650480f9619f42281eed228b4c9.zip
mtk-20170518-de8e3f2f86b26650480f9619f42281eed228b4c9.tar.gz
mtk-20170518-de8e3f2f86b26650480f9619f42281eed228b4c9.tar.bz2
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/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 0000000..c89873d
--- /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 */