X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fpost.c;h=bc8114e511357c18c45c072564d7303d511d69c5;hb=52cb4d4fb3487313f5a72ea740f527a4aefaa365;hp=99dc8c9a74a3d191c894534a1b465f417eed63be;hpb=794a5924972fc8073616e98a2668da4a5f9aea90;p=u-boot diff --git a/post/post.c b/post/post.c index 99dc8c9a74..bc8114e511 100644 --- a/post/post.c +++ b/post/post.c @@ -22,7 +22,7 @@ */ #include -#include +#include #include #include @@ -372,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); @@ -448,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 */