diff mbox series

[04/12] dts: Fix index for mcbist targets

Message ID 20200313011939.279770-5-amitay@ozlabs.org
State Accepted
Headers show
Series None | expand

Commit Message

Amitay Isaacs March 13, 2020, 1:19 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 p9.dts                            | 4 ++--
 tests/test_p9_fapi_translation.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/p9.dts b/p9.dts
index 199254c..835c433 100644
--- a/p9.dts
+++ b/p9.dts
@@ -212,7 +212,7 @@ 
 
 					mcbist {
 						compatible = "ibm,power9-mcbist";
-						index = < 0x00 >;
+						index = < 0x01 >;
 					};
 				};
 			};
@@ -1723,7 +1723,7 @@ 
 
 					mcbist {
 						compatible = "ibm,power9-mcbist";
-						index = < 0x00 >;
+						index = < 0x01 >;
 					};
 				};
 			};
diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh
index 7f7ea21..e4d8233 100755
--- a/tests/test_p9_fapi_translation.sh
+++ b/tests/test_p9_fapi_translation.sh
@@ -221,9 +221,9 @@  test_run libpdbg_p9_fapi_translation_test mca
 
 test_result 0 <<EOF
 Testing /proc0/pib/chiplet@7000000/mc@0/mcbist  0
-Testing /proc0/pib/chiplet@8000000/mc@1/mcbist  0
+Testing /proc0/pib/chiplet@8000000/mc@1/mcbist  1
 Testing /proc1/pib/chiplet@7000000/mc@0/mcbist  0
-Testing /proc1/pib/chiplet@8000000/mc@1/mcbist  0
+Testing /proc1/pib/chiplet@8000000/mc@1/mcbist  1
 EOF
 
 test_run libpdbg_p9_fapi_translation_test mcbist