From 7a1e87b1062e6eac0704c6fc2f7c661caf8814cd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Oct 2008 05:33:51 -0400 Subject: Blackfin: only build post code when CONFIG_POST Save some time by using CONFIG_POST in the Makefile rather than C files. Signed-off-by: Mike Frysinger --- lib_blackfin/post.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib_blackfin/post.c') diff --git a/lib_blackfin/post.c b/lib_blackfin/post.c index 4ab9e8bf0..35ccd3cd7 100644 --- a/lib_blackfin/post.c +++ b/lib_blackfin/post.c @@ -30,8 +30,6 @@ #include #endif -#ifdef CONFIG_POST - DECLARE_GLOBAL_DATA_PTR; #define POST_MAX_NUMBER 32 @@ -421,5 +419,3 @@ unsigned long post_time_ms(unsigned long base) { return (unsigned long)get_ticks() / (get_tbclk() / CONFIG_SYS_HZ) - base; } - -#endif /* CONFIG_POST */ -- cgit v1.2.3