Commit f8db9fa2 authored by Rabeeh Khoury's avatar Rabeeh Khoury

lx2160a: atf: fixed 12c setup detection

Signed-off-by: default avatarRabeeh Khoury <rabeeh@solid-run.com>
parent fd5e612f
From a2330e94cf154cf11e240271d64e079c7b814496 Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Sun, 8 Nov 2020 21:37:08 +0200
Subject: [PATCH 4/4] lx2160a: fix SVR 12c mask
Bit 12 must be masked when looking at SVR.
Issue was found when testing 12 core variant.
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
plat/nxp/soc-lx2160/include/soc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plat/nxp/soc-lx2160/include/soc.h b/plat/nxp/soc-lx2160/include/soc.h
index f4e5e0dcd..f9c270be2 100644
--- a/plat/nxp/soc-lx2160/include/soc.h
+++ b/plat/nxp/soc-lx2160/include/soc.h
@@ -123,7 +123,7 @@
/* bits */
/* SVR Definition */
-#define SVR_WO_E 0xFFFFFE
+#define SVR_WO_E 0xFFFFEE
#define SVR_LX2160A 0x873601
#define SVR_LX2120A 0x873621
#define SVR_LX2080A 0x873603
--
2.25.1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment