[PATCH 6/8] j721e_init: initialize ESM support for J7200 SOM

Neha Malcom Francis n-francis at ti.com
Mon Apr 10 16:15:44 CEST 2023


From: Gowtham Tammana <g-tammana at ti.com>

ESM and ESM PMIC support is available for J7200X-PM2-SOM board, as such
enable support for it.

Signed-off-by: Gowtham Tammana <g-tammana at ti.com>
Signed-off-by: Neha Malcom Francis <n-francis at ti.com>
---
 arch/arm/mach-k3/j721e_init.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c
index b22530f39d..294aeb2f88 100644
--- a/arch/arm/mach-k3/j721e_init.c
+++ b/arch/arm/mach-k3/j721e_init.c
@@ -280,7 +280,8 @@ void board_init_f(ulong dummy)
 #endif
 
 #ifdef CONFIG_ESM_K3
-	if (board_ti_k3_is("J721EX-PM2-SOM")) {
+	if (board_ti_k3_is("J721EX-PM2-SOM") ||
+	    board_ti_k3_is("J7200X-PM2-SOM")) {
 		ret = uclass_get_device_by_driver(UCLASS_MISC,
 						  DM_DRIVER_GET(k3_esm), &dev);
 		if (ret)
@@ -289,7 +290,8 @@ void board_init_f(ulong dummy)
 #endif
 
 #ifdef CONFIG_ESM_PMIC
-	if (board_ti_k3_is("J721EX-PM2-SOM")) {
+	if (board_ti_k3_is("J721EX-PM2-SOM") ||
+	    board_ti_k3_is("J7200X-PM2-SOM")) {
 		ret = uclass_get_device_by_driver(UCLASS_MISC,
 						  DM_DRIVER_GET(pmic_esm),
 						  &dev);
-- 
2.34.1



More information about the U-Boot mailing list