summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/ssp-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/ssp-imx233.c')
-rw-r--r--firmware/target/arm/imx233/ssp-imx233.c6
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
48static bool ssp_in_use[2]; 52static bool ssp_in_use[2];
49static int ssp_nr_in_use = 0; 53static int ssp_nr_in_use = 0;