diff options
Diffstat (limited to 'post')
-rw-r--r-- | post/tests.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/post/tests.c b/post/tests.c index a4066f9f8b7..5f59fbb27f8 100644 --- a/post/tests.c +++ b/post/tests.c @@ -165,6 +165,9 @@ struct post_test post_list[] = }, #endif #if CONFIG_POST & CONFIG_SYS_POST_UART +#if defined(CONFIG_POST_UART) + CONFIG_POST_UART, +#else { "UART test", "uart", @@ -175,6 +178,7 @@ struct post_test post_list[] = NULL, CONFIG_SYS_POST_UART }, +#endif /* CONFIG_POST_UART */ #endif #if CONFIG_POST & CONFIG_SYS_POST_ETHER { |