Parcourir la source

Configure DSP POST; add watchdog reset to diag command

Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
Sascha Laue il y a 17 ans
Parent
commit
5744ddc663
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      post/post.c
  2. 1 1
      post/tests.c

+ 1 - 0
post/post.c

@@ -319,6 +319,7 @@ int post_run (char *name, int flags)
 		}
 
 		if (i < post_list_size) {
+			WATCHDOG_RESET();
 			return post_run_single (post_list + i,
 						test_flags[i],
 						flags, i);

+ 1 - 1
post/tests.c

@@ -240,7 +240,7 @@ struct post_test post_list[] =
 	"DSP test",
 	"dsp",
 	"This test checks any connected DSP(s).",
-	POST_RAM | POST_MANUAL,
+	POST_RAM | POST_ALWAYS | POST_MANUAL,
 	&dsp_post_test,
 	NULL,
 	NULL,