PDK-6642: Removed SDR_ECC_selfTest from J721E build.
authorDanny Jochelson <dsjochel@ti.com>
Fri, 29 May 2020 17:44:38 +0000 (12:44 -0500)
committerDanny Jochelson <dsjochel@ti.com>
Fri, 29 May 2020 17:44:38 +0000 (12:44 -0500)
Made SDR_ECC_selfTest() at start of Periodic tests only in AM65
build, since this test can fail on J721E.

packages/ti/diag/sdr/test/sdtf-test/src/sdtf_test.c

index 07ddf0a8942003c897ade6ed2a7cdb9df70087ff..0eff80fc2ae2398cf81ec9885bceede0ddd15655 100644 (file)
@@ -232,6 +232,7 @@ int32_t SDTF_runPeriodicTests(void)
 
         SDTF_profileBegin(SDTF_PROFILE_PERIODIC);
         /* -------------- Periodic Test start ------------------------- */
+#if defined(SOC_AM65XX)
         {
             /* Run test for ECC */
             SDR_ECC_InjectErrorConfig_t injectErrorConfig;
@@ -254,6 +255,7 @@ int32_t SDTF_runPeriodicTests(void)
                 return -1;
              }
         }
+#endif
         {
              /* Run esm test 1*/
              result = SDR_ESM_selfTest(1000);