mpc5121: pdm360ng: add coprocessor POST
Adds coprocessor communication POST code Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
2ebdb9a9d7
commit
29fd7ceb3c
13
post/tests.c
13
post/tests.c
@@ -53,6 +53,7 @@ extern int gdc_post_test (int flags);
|
||||
extern int fpga_post_test (int flags);
|
||||
extern int lwmon5_watchdog_post_test(int flags);
|
||||
extern int sysmon1_post_test(int flags);
|
||||
extern int coprocessor_post_test(int flags);
|
||||
|
||||
extern int sysmon_init_f (void);
|
||||
|
||||
@@ -286,6 +287,18 @@ struct post_test post_list[] =
|
||||
#if CONFIG_POST & CONFIG_SYS_POST_BSPEC5
|
||||
CONFIG_POST_BSPEC5,
|
||||
#endif
|
||||
#if CONFIG_POST & CONFIG_SYS_POST_COPROC
|
||||
{
|
||||
"Coprocessors communication test",
|
||||
"coproc_com",
|
||||
"This test checks communication with coprocessors.",
|
||||
POST_RAM | POST_ALWAYS | POST_CRITICAL,
|
||||
&coprocessor_post_test,
|
||||
NULL,
|
||||
NULL,
|
||||
CONFIG_SYS_POST_COPROC
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);
|
||||
|
||||
Reference in New Issue
Block a user