]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: j721e: Fix OSPI node compatible
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 17 Sep 2020 11:18:16 +0000 (16:48 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 12 Oct 2020 02:37:41 +0000 (08:07 +0530)
Update detect_enable_hyperflash() to look for "ti,am654-ospi" compatible
to match the upstream DT node.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
board/ti/j721e/evm.c

index ebaa6faa931e880a6cbcedd30a973d9389c91a7b..a8649fbd616cd24cea01184b59e2d0e831a0489c 100644 (file)
@@ -110,7 +110,7 @@ static void __maybe_unused detect_enable_hyperflash(void *blob)
                do_fixup_by_compat(blob, "ti,am654-hbmc", "status",
                                   "okay", sizeof("okay"), 0);
                offset = fdt_node_offset_by_compatible(blob, -1,
-                                                      "ti,j721e-ospi");
+                                                      "ti,am654-ospi");
                fdt_setprop(blob, offset, "status", "disabled",
                            sizeof("disabled"));
        }