X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib_ppc%2Fboard.c;h=108244e296a96ade4c1cbf0cae8b5a2303ded53b;hb=8564acf936726c5568d71e4fa93a0ae9814e0d07;hp=daa2a6df44852ab926d6237ae19651bd8336d3e4;hpb=5702923e23238df6c6f62d53f73863462ae62f4e;p=platform%2Fkernel%2Fu-boot.git diff --git a/lib_ppc/board.c b/lib_ppc/board.c index daa2a6d..108244e 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -526,7 +526,10 @@ void board_init_f (ulong bootflag) #ifdef CONFIG_POST post_bootmode_init(); - post_run (NULL, POST_ROM | post_bootmode_get(0)); + if (post_hotkeys_pressed(gd)) /* Force the long-running tests (memory) */ + post_run (NULL, POST_ROM | POST_SLOWTEST); + else + post_run (NULL, POST_ROM | post_bootmode_get(0)); #endif WATCHDOG_RESET(); @@ -897,8 +900,11 @@ void board_init_r (gd_t *id, ulong dest_addr) #endif #ifdef CONFIG_POST - post_run (NULL, POST_RAM | post_bootmode_get(0)); - if (post_bootmode_get(0) & POST_POWERFAIL) { + if (gd->post_hotkeys_latch) + post_run (NULL, POST_RAM | POST_SLOWTEST); + else + post_run (NULL, POST_RAM | post_bootmode_get(0)); + if (post_bootmode_get(0) & POST_SLOWTEST) { post_bootmode_clear(); board_poweroff(); }