aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2009-05-13 15:16:31 -0500
committerWolfgang Denk2009-05-15 15:13:01 -0500
commit84bf7ca522e94ec402a1264b01971b924b7e268f (patch)
tree61ce6ef421bee63113617434197a652bb6adf14e /api
parent792a09eb9d5d8c4f74b7e9f2e887316d511a4e80 (diff)
downloadu-boot-84bf7ca522e94ec402a1264b01971b924b7e268f.tar.gz
u-boot-84bf7ca522e94ec402a1264b01971b924b7e268f.tar.xz
u-boot-84bf7ca522e94ec402a1264b01971b924b7e268f.zip
api: remove un-needed ifdef CONFIG_API already handle by the Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'api')
-rw-r--r--api/api.c5
-rw-r--r--api/api_net.c5
-rw-r--r--api/api_platform-arm.c3
-rw-r--r--api/api_platform-ppc.c5
-rw-r--r--api/api_storage.c5
5 files changed, 0 insertions, 23 deletions
diff --git a/api/api.c b/api/api.c
index f51ebb7b13..385a7e3cdc 100644
--- a/api/api.c
+++ b/api/api.c
@@ -24,9 +24,6 @@
24 */ 24 */
25 25
26#include <config.h> 26#include <config.h>
27
28#if defined(CONFIG_API)
29
30#include <command.h> 27#include <command.h>
31#include <common.h> 28#include <common.h>
32#include <malloc.h> 29#include <malloc.h>
@@ -665,5 +662,3 @@ void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long siz
665 return; 662 return;
666 } 663 }
667} 664}
668
669#endif /* CONFIG_API */
diff --git a/api/api_net.c b/api/api_net.c
index 9611ab0dda..afe072e76a 100644
--- a/api/api_net.c
+++ b/api/api_net.c
@@ -24,9 +24,6 @@
24 */ 24 */
25 25
26#include <config.h> 26#include <config.h>
27
28#if defined(CONFIG_API)
29
30#include <common.h> 27#include <common.h>
31#include <net.h> 28#include <net.h>
32#include <linux/types.h> 29#include <linux/types.h>
@@ -109,5 +106,3 @@ int dev_read_net(void *cookie, void *buf, int len)
109 106
110 return eth_receive(buf, len); 107 return eth_receive(buf, len);
111} 108}
112
113#endif /* CONFIG_API */
diff --git a/api/api_platform-arm.c b/api/api_platform-arm.c
index ca15ca5a98..fffaa1e4a1 100644
--- a/api/api_platform-arm.c
+++ b/api/api_platform-arm.c
@@ -28,9 +28,6 @@
28 */ 28 */
29 29
30#include <config.h> 30#include <config.h>
31
32#if defined(CONFIG_API)
33
34#include <linux/types.h> 31#include <linux/types.h>
35#include <api_public.h> 32#include <api_public.h>
36 33
diff --git a/api/api_platform-ppc.c b/api/api_platform-ppc.c
index 611a01b5ec..bfcc4175b6 100644
--- a/api/api_platform-ppc.c
+++ b/api/api_platform-ppc.c
@@ -28,9 +28,6 @@
28 */ 28 */
29 29
30#include <config.h> 30#include <config.h>
31
32#if defined(CONFIG_API)
33
34#include <linux/types.h> 31#include <linux/types.h>
35#include <api_public.h> 32#include <api_public.h>
36 33
@@ -75,5 +72,3 @@ int platform_sys_info(struct sys_info *si)
75 72
76 return 1; 73 return 1;
77} 74}
78
79#endif /* CONFIG_API */
diff --git a/api/api_storage.c b/api/api_storage.c
index 6fac98bffd..c53571296f 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -24,9 +24,6 @@
24 */ 24 */
25 25
26#include <config.h> 26#include <config.h>
27
28#if defined(CONFIG_API)
29
30#include <common.h> 27#include <common.h>
31#include <api_public.h> 28#include <api_public.h>
32 29
@@ -391,5 +388,3 @@ lbasize_t dev_read_stor(void *cookie, void *buf, lbasize_t len, lbastart_t start
391 388
392 return (dd->block_read(dev_stor_index(dd), start, len, buf)); 389 return (dd->block_read(dev_stor_index(dd), start, len, buf));
393} 390}
394
395#endif /* CONFIG_API */