]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_pci.c
83xx: split COBJS onto separate lines
[u-boot] / common / cmd_pci.c
index 7641d5c8b788a24f1c58415f6f3051638c7e9391..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)
-
 extern int cmd_get_data_size(char* arg, int default_size);
 
 unsigned char  ShortPCIListing = 1;
@@ -548,9 +543,9 @@ int do_pci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 /***************************************************/
 
 
-cmd_tbl_t U_BOOT_CMD(PCI) = MK_CMD_ENTRY(
-       "pci",  5,      1,      do_pci,
-       "pci     - list and access PCI Configuraton Space\n",
+U_BOOT_CMD(
+       pci,    5,      1,      do_pci,
+       "pci     - list and access PCI Configuration Space\n",
        "[bus] [long]\n"
        "    - short or long list of PCI devices on bus 'bus'\n"
        "pci header b.d.f\n"
@@ -564,7 +559,3 @@ cmd_tbl_t U_BOOT_CMD(PCI) = MK_CMD_ENTRY(
        "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 */