projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: fix those pesky aliasing warnings issued by gcc-4.2
[oweals/u-boot.git]
/
common
/
cmd_pci.c
diff --git
a/common/cmd_pci.c
b/common/cmd_pci.c
index 8be6da93f936a4ca6d3353b9f9b3ac6c0041d4de..82d97178f5dd24ad1482e6c8450b62ce110a8b84 100644
(file)
--- a/
common/cmd_pci.c
+++ b/
common/cmd_pci.c
@@
-30,16
+30,11
@@
*/
#include <common.h>
*/
#include <common.h>
-
-#ifdef CONFIG_PCI
-
#include <command.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <pci.h>
#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;
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"
);
"pci write[.b, .w, .l] b.d.f address value\n"
" - write to CFG address\n"
);
-
-#endif
-
-#endif /* CONFIG_PCI */