]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cmd_usb.c
mx6qarm2: Remove unused SOBJS
[karo-tx-uboot.git] / common / cmd_usb.c
index 9eba2713eaef7f9ab073b779a6b8d7dd438f58c5..a8e3ae5b67f8b00e6a2a83fd40c65fdc28fcd9b7 100644 (file)
@@ -150,7 +150,8 @@ void usb_display_class_sub(unsigned char dclass, unsigned char subclass,
 
 void usb_display_string(struct usb_device *dev, int index)
 {
-       char buffer[256];
+       ALLOC_CACHE_ALIGN_BUFFER(char, buffer, 256);
+
        if (index != 0) {
                if (usb_string(dev, index, &buffer[0], 256) > 0)
                        printf("String: \"%s\"", buffer);