kernel: Backport pending appended DTB handling patches
[openwrt/staging/rmilecki.git] / target / linux / brcm63xx / patches-4.4 / 367-MIPS-BCM63XX-add-support-for-loading-DTB.patch
index 64c8c33f802e845816874af87cc5cc45e243720c..9c93eaa1bafa4d1d678092d634a9feb142699b00 100644 (file)
@@ -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();