diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-18 05:33:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-02 12:24:30 -0500 |
commit | 7a1e87b1062e6eac0704c6fc2f7c661caf8814cd (patch) | |
tree | d665a71d119ed4dfacf00e308975185cd6947203 /lib_blackfin/post.c | |
parent | 6d7d4803c74bb86e1b401b1199e63381a62b9382 (diff) | |
download | u-boot-imx-7a1e87b1062e6eac0704c6fc2f7c661caf8814cd.zip u-boot-imx-7a1e87b1062e6eac0704c6fc2f7c661caf8814cd.tar.gz u-boot-imx-7a1e87b1062e6eac0704c6fc2f7c661caf8814cd.tar.bz2 |
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 <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin/post.c')
-rw-r--r-- | lib_blackfin/post.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib_blackfin/post.c b/lib_blackfin/post.c index 4ab9e8b..35ccd3c 100644 --- a/lib_blackfin/post.c +++ b/lib_blackfin/post.c @@ -30,8 +30,6 @@ #include <logbuff.h> #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 */ |