diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-09-24 19:05:31 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2007-11-21 08:33:54 +0300 |
commit | 4a43719a7738712811d822ca8125427b27a55cdc (patch) | |
tree | 8043a3f013ff7341a8394b81f72626bca3378ef2 /common/cmd_pci.c | |
parent | 2f155f6c0a1f5e9a306a3f1f4fbe067db7ced3b1 (diff) | |
download | u-boot-4a43719a7738712811d822ca8125427b27a55cdc.tar.xz |
[BUILD] conditionally compile common/cmd_*.c in common/Makefile
Modify common/Makefile to conditionally compile the cmd_*.c files based
on the board config.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'common/cmd_pci.c')
-rw-r--r-- | common/cmd_pci.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 8be6da93f9..82d97178f5 100644 --- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -30,16 +30,11 @@ */ #include <common.h> - -#ifdef CONFIG_PCI - #include <command.h> #include <asm/processor.h> #include <asm/io.h> #include <pci.h> -#if defined(CONFIG_CMD_PCI) - extern int cmd_get_data_size(char* arg, int default_size); unsigned char ShortPCIListing = 1; @@ -564,7 +559,3 @@ U_BOOT_CMD( "pci write[.b, .w, .l] b.d.f address value\n" " - write to CFG address\n" ); - -#endif - -#endif /* CONFIG_PCI */ |