summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/usb-s3c6400x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c
index 5fcbde9fd6..42d56b9bf9 100644
--- a/firmware/target/arm/usb-s3c6400x.c
+++ b/firmware/target/arm/usb-s3c6400x.c
@@ -97,7 +97,7 @@ static struct ep_type endpoints[USB_NUM_ENDPOINTS][2];
static union {
struct usb_ctrlrequest header; /* 8 bytes */
unsigned char payload[64];
-} _ep0_setup_pkt USB_DEVBSS_ATTR;
+} _ep0_setup_pkt USB_DEVBSS_ATTR __attribute__((aligned(32)));
static struct usb_ctrlrequest *ep0_setup_pkt = UNCACHED_ADDR(&_ep0_setup_pkt.header);