]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_pci.c
ppc4xx: Add AMCC Canyonlands support (460EX) (1/3)
[u-boot] / common / cmd_pci.c
index 10e06912c4b3f846794b542d2e27f610d4397f20..82d97178f5dd24ad1482e6c8450b62ce110a8b84 100644 (file)
  */
 
 #include <common.h>
-
-#ifdef CONFIG_PCI
-
 #include <command.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <pci.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_PCI) || 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 /* (CONFIG_COMMANDS & CFG_CMD_PCI) */
-
-#endif /* CONFIG_PCI */