summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/ata-imx31.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/ata-imx31.c')
-rw-r--r--firmware/target/arm/imx31/ata-imx31.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/imx31/ata-imx31.c b/firmware/target/arm/imx31/ata-imx31.c
index 5ce7ad0a03..4c6bebd168 100644
--- a/firmware/target/arm/imx31/ata-imx31.c
+++ b/firmware/target/arm/imx31/ata-imx31.c
@@ -249,17 +249,17 @@ static struct wakeup ata_dma_wakeup;
249 249
250/** SDMA **/ 250/** SDMA **/
251/* Array of buffer descriptors for large transfers and alignnment */ 251/* Array of buffer descriptors for large transfers and alignnment */
252static struct buffer_descriptor ata_bda[ATA_BD_COUNT] DEVBSS_ATTR; 252static struct buffer_descriptor ata_bda[ATA_BD_COUNT] NOCACHEBSS_ATTR;
253/* ATA channel descriptors */ 253/* ATA channel descriptors */
254static struct channel_descriptor ata_cd_rd DEVBSS_ATTR; /* read channel */ 254static struct channel_descriptor ata_cd_rd NOCACHEBSS_ATTR; /* read channel */
255static struct channel_descriptor ata_cd_wr DEVBSS_ATTR; /* write channel */ 255static struct channel_descriptor ata_cd_wr NOCACHEBSS_ATTR; /* write channel */
256/* DMA channel to be started for transfer */ 256/* DMA channel to be started for transfer */
257static unsigned int current_channel = 0; 257static unsigned int current_channel = 0;
258 258
259/** Buffers **/ 259/** Buffers **/
260/* Scatter buffer for first and last 32 bytes of a non cache-aligned transfer 260/* Scatter buffer for first and last 32 bytes of a non cache-aligned transfer
261 * to cached RAM. */ 261 * to cached RAM. */
262static uint32_t scatter_buffer[32/4*2] DEVBSS_ATTR; 262static uint32_t scatter_buffer[32/4*2] NOCACHEBSS_ATTR;
263/* Address of ends in destination buffer for unaligned reads - copied after 263/* Address of ends in destination buffer for unaligned reads - copied after
264 * DMA completes. */ 264 * DMA completes. */
265static void *sb_dst[2] = { NULL, NULL }; 265static void *sb_dst[2] = { NULL, NULL };