]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/post.c
ppc4xx: Fixup chip-selects in dtb for NAND-booting Sequoia
[karo-tx-uboot.git] / post / post.c
index d31829ba162b41c30d5e0672cf5104cd725e3dfc..c982e27fff1f54e3e8b2bb2b73b21b130b837e55 100644 (file)
@@ -319,6 +319,7 @@ int post_run (char *name, int flags)
                }
 
                if (i < post_list_size) {
+                       WATCHDOG_RESET();
                        return post_run_single (post_list + i,
                                                test_flags[i],
                                                flags, i);
@@ -371,7 +372,7 @@ int post_log (char *format, ...)
 {
        va_list args;
        uint i;
-       char printbuffer[CFG_PBSIZE];
+       char printbuffer[CONFIG_SYS_PBSIZE];
 
        va_start (args, format);
 
@@ -447,7 +448,7 @@ void post_reloc (void)
 unsigned long post_time_ms (unsigned long base)
 {
 #ifdef CONFIG_PPC
-       return (unsigned long)(get_ticks () / (get_tbclk () / CFG_HZ)) - base;
+       return (unsigned long)(get_ticks () / (get_tbclk () / CONFIG_SYS_HZ)) - base;
 #else
 #warning "Not implemented yet"
        return 0; /* Not implemented yet */