tests.c (8dc3b2303d2b57c774b609ca0e7043ed8f9b88c1) | tests.c (65b20dcefc89618193fa51947968dada91e4c778) |
---|---|
1/* 2 * (C) Copyright 2002 3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 * 5 * See file CREDITS for list of people who contributed to this 6 * project. 7 * 8 * This program is free software; you can redistribute it and/or --- 34 unchanged lines hidden (view full) --- 43extern int spi_post_test (int flags); 44extern int usb_post_test (int flags); 45extern int spr_post_test (int flags); 46extern int sysmon_post_test (int flags); 47extern int dsp_post_test (int flags); 48extern int codec_post_test (int flags); 49extern int ecc_post_test (int flags); 50 | 1/* 2 * (C) Copyright 2002 3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 * 5 * See file CREDITS for list of people who contributed to this 6 * project. 7 * 8 * This program is free software; you can redistribute it and/or --- 34 unchanged lines hidden (view full) --- 43extern int spi_post_test (int flags); 44extern int usb_post_test (int flags); 45extern int spr_post_test (int flags); 46extern int sysmon_post_test (int flags); 47extern int dsp_post_test (int flags); 48extern int codec_post_test (int flags); 49extern int ecc_post_test (int flags); 50 |
51extern int dspic_init_post_test (int flags); 52extern int dspic_post_test (int flags); 53extern int gdc_post_test (int flags); 54extern int fpga_post_test (int flags); 55extern int lwmon5_watchdog_post_test(int flags); 56extern int sysmon1_post_test(int flags); 57 |
|
51extern int sysmon_init_f (void); 52 53extern void sysmon_reloc (void); 54 55 56struct post_test post_list[] = 57{ 58#if CONFIG_POST & CFG_POST_CACHE --- 4 unchanged lines hidden (view full) --- 63 POST_RAM | POST_ALWAYS, 64 &cache_post_test, 65 NULL, 66 NULL, 67 CFG_POST_CACHE 68 }, 69#endif 70#if CONFIG_POST & CFG_POST_WATCHDOG | 58extern int sysmon_init_f (void); 59 60extern void sysmon_reloc (void); 61 62 63struct post_test post_list[] = 64{ 65#if CONFIG_POST & CFG_POST_CACHE --- 4 unchanged lines hidden (view full) --- 70 POST_RAM | POST_ALWAYS, 71 &cache_post_test, 72 NULL, 73 NULL, 74 CFG_POST_CACHE 75 }, 76#endif 77#if CONFIG_POST & CFG_POST_WATCHDOG |
78#if defined(CONFIG_POST_WATCHDOG) 79 CONFIG_POST_WATCHDOG, 80#else |
|
71 { 72 "Watchdog timer test", 73 "watchdog", 74 "This test checks the watchdog timer.", 75 POST_RAM | POST_POWERON | POST_SLOWTEST | POST_MANUAL | POST_REBOOT, 76 &watchdog_post_test, 77 NULL, 78 NULL, 79 CFG_POST_WATCHDOG 80 }, 81#endif | 81 { 82 "Watchdog timer test", 83 "watchdog", 84 "This test checks the watchdog timer.", 85 POST_RAM | POST_POWERON | POST_SLOWTEST | POST_MANUAL | POST_REBOOT, 86 &watchdog_post_test, 87 NULL, 88 NULL, 89 CFG_POST_WATCHDOG 90 }, 91#endif |
92#endif |
|
82#if CONFIG_POST & CFG_POST_I2C 83 { 84 "I2C test", 85 "i2c", 86 "This test verifies the I2C operation.", 87 POST_RAM | POST_ALWAYS, 88 &i2c_post_test, 89 NULL, --- 154 unchanged lines hidden (view full) --- 244 "This test checks the ECC facility of memory.", 245 POST_ROM | POST_ALWAYS | POST_PREREL, 246 &ecc_post_test, 247 NULL, 248 NULL, 249 CFG_POST_ECC 250 }, 251#endif | 93#if CONFIG_POST & CFG_POST_I2C 94 { 95 "I2C test", 96 "i2c", 97 "This test verifies the I2C operation.", 98 POST_RAM | POST_ALWAYS, 99 &i2c_post_test, 100 NULL, --- 154 unchanged lines hidden (view full) --- 255 "This test checks the ECC facility of memory.", 256 POST_ROM | POST_ALWAYS | POST_PREREL, 257 &ecc_post_test, 258 NULL, 259 NULL, 260 CFG_POST_ECC 261 }, 262#endif |
263#if CONFIG_POST & CFG_POST_BSPEC1 264 CONFIG_POST_BSPEC1, 265#endif 266#if CONFIG_POST & CFG_POST_BSPEC2 267 CONFIG_POST_BSPEC2, 268#endif 269#if CONFIG_POST & CFG_POST_BSPEC3 270 CONFIG_POST_BSPEC3, 271#endif 272#if CONFIG_POST & CFG_POST_BSPEC4 273 CONFIG_POST_BSPEC4, 274#endif 275#if CONFIG_POST & CFG_POST_BSPEC4 276 CONFIG_POST_BSPEC5, 277#endif |
|
252}; 253 254unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test); 255 256#endif /* CONFIG_POST */ | 278}; 279 280unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test); 281 282#endif /* CONFIG_POST */ |