summaryrefslogtreecommitdiffstats
path: root/post/drivers
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@emcraft.com>2008-03-31 10:49:34 +0200
committerWolfgang Denk <wd@denx.de>2008-04-22 14:38:38 +0200
commit0a51e9248e2d27e0a02ef1e740c576ce90a39ee1 (patch)
tree75e60dde0cca4cd822331022cb19821238b90fcf /post/drivers
parent3a5d1e7f1309998791702b2a559e3126781746b9 (diff)
downloadtalos-obmc-uboot-0a51e9248e2d27e0a02ef1e740c576ce90a39ee1.tar.gz
talos-obmc-uboot-0a51e9248e2d27e0a02ef1e740c576ce90a39ee1.zip
POST: preparations for moving CONFIG_POST to Makefiles
Remove CONFIG_POST ifdefs from the post/ source files. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'post/drivers')
-rw-r--r--post/drivers/i2c.c3
-rw-r--r--post/drivers/memory.c3
-rw-r--r--post/drivers/rtc.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c
index 1b2e64471b..f54fe9970a 100644
--- a/post/drivers/i2c.c
+++ b/post/drivers/i2c.c
@@ -23,8 +23,6 @@
#include <common.h>
-#ifdef CONFIG_POST
-
/*
* I2C test
*
@@ -91,4 +89,3 @@ int i2c_post_test (int flags)
}
#endif /* CONFIG_POST & CFG_POST_I2C */
-#endif /* CONFIG_POST */
diff --git a/post/drivers/memory.c b/post/drivers/memory.c
index fb969856bc..e94d92c08b 100644
--- a/post/drivers/memory.c
+++ b/post/drivers/memory.c
@@ -150,8 +150,6 @@
* the whole RAM.
*/
-#ifdef CONFIG_POST
-
#include <post.h>
#include <watchdog.h>
@@ -483,4 +481,3 @@ int memory_post_test (int flags)
}
#endif /* CONFIG_POST & CFG_POST_MEMORY */
-#endif /* CONFIG_POST */
diff --git a/post/drivers/rtc.c b/post/drivers/rtc.c
index 7d4f9b88ee..4afe8e67e7 100644
--- a/post/drivers/rtc.c
+++ b/post/drivers/rtc.c
@@ -38,8 +38,6 @@
* nonleap-years.
*/
-#ifdef CONFIG_POST
-
#include <post.h>
#include <rtc.h>
@@ -180,4 +178,3 @@ int rtc_post_test (int flags)
}
#endif /* CONFIG_POST & CFG_POST_RTC */
-#endif /* CONFIG_POST */
OpenPOWER on IntegriCloud