]> git.sur5r.net Git - u-boot/blobdiff - common/usb_storage.c
ppc4xx: Merge xilinx-ppc440 and xilinx-ppc405 cfg
[u-boot] / common / usb_storage.c
index d8fbb69a369b495a198755cbf588db2b819fa482..94f659fd31d6097f8f347a769350ed0f5e806ff3 100644 (file)
 #include <asm/byteorder.h>
 #include <asm/processor.h>
 
-
-#if defined(CONFIG_CMD_USB)
 #include <part.h>
 #include <usb.h>
 
-#ifdef CONFIG_USB_STORAGE
-
 #undef USB_STOR_DEBUG
 #undef BBB_COMDAT_TRACE
 #undef BBB_XPORT_TRACE
@@ -1242,6 +1238,3 @@ int usb_stor_get_info(struct usb_device *dev,struct us_data *ss,block_dev_desc_t
        USB_STOR_PRINTF("partype: %d\n",dev_desc->part_type);
        return 1;
 }
-
-#endif /* CONFIG_USB_STORAGE */
-#endif