X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_pci.c;h=82d97178f5dd24ad1482e6c8450b62ce110a8b84;hb=2242f5369822bc7780db95c47985bb408ea9157b;hp=8be6da93f936a4ca6d3353b9f9b3ac6c0041d4de;hpb=d61ea14885631e58a25feaa81ee82eb464c62d6a;p=u-boot 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 - -#ifdef CONFIG_PCI - #include #include #include #include -#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 */