rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
diff --git a/lib_blackfin/post.c b/lib_blackfin/post.c
index 3c4d5c5..4ab9e8b 100644
--- a/lib_blackfin/post.c
+++ b/lib_blackfin/post.c
@@ -345,7 +345,7 @@
{
va_list args;
uint i;
- char printbuffer[CFG_PBSIZE];
+ char printbuffer[CONFIG_SYS_PBSIZE];
va_start(args, format);
@@ -419,7 +419,7 @@
*/
unsigned long post_time_ms(unsigned long base)
{
- return (unsigned long)get_ticks() / (get_tbclk() / CFG_HZ) - base;
+ return (unsigned long)get_ticks() / (get_tbclk() / CONFIG_SYS_HZ) - base;
}
#endif /* CONFIG_POST */