summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>2016-07-17 08:30:42 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2016-09-12 22:36:55 +0200
commit993ad293597ac3e46574e2ccd074432824305a91 (patch)
tree06550379eea3d62814543bfebd70d4386a884532 /target/linux/brcm63xx
parentd27bce8d28eb129af0abd9c80a7756301b7d588a (diff)
downloadmtk-20170518-993ad293597ac3e46574e2ccd074432824305a91.zip
mtk-20170518-993ad293597ac3e46574e2ccd074432824305a91.tar.gz
mtk-20170518-993ad293597ac3e46574e2ccd074432824305a91.tar.bz2
kernel: Backport pending appended DTB handling patches
Backport patches from upstream Linux kernel which are making the kernel stores the appended dtb not in the same resisters as defined in the UHI specification, use a separate variable on MIPS. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [some modifications] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/patches-4.4/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch b/target/linux/brcm63xx/patches-4.4/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch
index 64c8c33..9c93eaa 100644
--- a/target/linux/brcm63xx/patches-4.4/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch
+++ b/target/linux/brcm63xx/patches-4.4/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch
@@ -110,8 +110,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
u32 reg, mask;
+#if CONFIG_OF
-+ if (fw_arg0 == -2)
-+ early_init_dt_verify((void *)fw_arg1);
++ if (fw_passed_dtb)
++ early_init_dt_verify((void *)fw_passed_dtb);
+#endif
+
bcm63xx_cpu_init();