diff options
Diffstat (limited to 'firmware/target/arm/imx31/ata-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/ata-imx31.c | 8 |
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 */ |
252 | static struct buffer_descriptor ata_bda[ATA_BD_COUNT] DEVBSS_ATTR; | 252 | static struct buffer_descriptor ata_bda[ATA_BD_COUNT] NOCACHEBSS_ATTR; |
253 | /* ATA channel descriptors */ | 253 | /* ATA channel descriptors */ |
254 | static struct channel_descriptor ata_cd_rd DEVBSS_ATTR; /* read channel */ | 254 | static struct channel_descriptor ata_cd_rd NOCACHEBSS_ATTR; /* read channel */ |
255 | static struct channel_descriptor ata_cd_wr DEVBSS_ATTR; /* write channel */ | 255 | static 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 */ |
257 | static unsigned int current_channel = 0; | 257 | static 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. */ |
262 | static uint32_t scatter_buffer[32/4*2] DEVBSS_ATTR; | 262 | static 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. */ |
265 | static void *sb_dst[2] = { NULL, NULL }; | 265 | static void *sb_dst[2] = { NULL, NULL }; |