X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Ftests.c;h=98af98049ab94a669a69543cb3268ff3b9353ae4;hb=cece262209aaacf6f842c8d15832f882eb2467d8;hp=bfb9cb5db619c902dc3b8bc86c2b75baac72799b;hpb=f6f7395eb36a5d4ac7e3b088f65cda42629d1d79;p=u-boot diff --git a/post/tests.c b/post/tests.c index bfb9cb5db6..98af98049a 100644 --- a/post/tests.c +++ b/post/tests.c @@ -55,6 +55,9 @@ 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 led_post_test(int flags); +extern int button_post_test(int flags); +extern int memory_regions_post_test(int flags); extern int sysmon_init_f (void); @@ -316,6 +319,18 @@ struct post_test post_list[] = CONFIG_SYS_POST_FLASH }, #endif +#if CONFIG_POST & CONFIG_SYS_POST_MEM_REGIONS + { + "Memory regions test", + "mem_regions", + "This test checks regularly placed regions of the RAM.", + POST_ROM | POST_SLOWTEST | POST_PREREL, + &memory_regions_post_test, + NULL, + NULL, + CONFIG_SYS_POST_MEM_REGIONS + }, +#endif }; unsigned int post_list_size = ARRAY_SIZE(post_list);