]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/scsi.h
km_arm: use filesize for erase in update command
[karo-tx-uboot.git] / include / scsi.h
index c52759c788e6c7a27a02428f9c7ab00c071e5a74..89ae45f8e8bcae06770ca7dee35f9b68416e61f4 100644 (file)
@@ -26,7 +26,9 @@
 
 typedef struct SCSI_cmd_block{
        unsigned char           cmd[16];                                        /* command                                 */
-       unsigned char           sense_buf[64];          /* for request sense */
+       /* for request sense */
+       unsigned char           sense_buf[64]
+               __attribute__((aligned(ARCH_DMA_MINALIGN)));
        unsigned char           status;                                         /* SCSI Status                   */
        unsigned char           target;                                         /* Target ID                             */
        unsigned char           lun;                                                    /* Target LUN        */