[PATCH] board: ti: j721e: Fix OSPI node compatible

Vignesh Raghavendra vigneshr at ti.com
Thu Sep 17 13:18:16 CEST 2020


Update detect_enable_hyperflash() to look for "ti,am654-ospi" compatible
to match the upstream DT node.

Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
---
 board/ti/j721e/evm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index 7925b76ab7..d8711eb900 100644
--- a/board/ti/j721e/evm.c
+++ b/board/ti/j721e/evm.c
@@ -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"));
 	}
-- 
2.28.0



More information about the U-Boot mailing list