diff options
Diffstat (limited to 'firmware/target/arm/imx233/ssp-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/ssp-imx233.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/ssp-imx233.c b/firmware/target/arm/imx233/ssp-imx233.c index 21dcba67aa..1b773a4dd0 100644 --- a/firmware/target/arm/imx233/ssp-imx233.c +++ b/firmware/target/arm/imx233/ssp-imx233.c | |||
@@ -43,7 +43,11 @@ struct ssp_dma_command_t | |||
43 | uint32_t ctrl0; | 43 | uint32_t ctrl0; |
44 | uint32_t cmd0; | 44 | uint32_t cmd0; |
45 | uint32_t cmd1; | 45 | uint32_t cmd1; |
46 | }; | 46 | /* padded to next multiple of cache line size (32 bytes) */ |
47 | uint32_t pad[2]; | ||
48 | } __attribute__((packed)) CACHEALIGN_ATTR; | ||
49 | |||
50 | __ENSURE_STRUCT_CACHE_FRIENDLY(struct ssp_dma_command_t) | ||
47 | 51 | ||
48 | static bool ssp_in_use[2]; | 52 | static bool ssp_in_use[2]; |
49 | static int ssp_nr_in_use = 0; | 53 | static int ssp_nr_in_use = 0; |