summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/ata_sd_as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/ata_sd_as3525.c')
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c
index 91d65235ef..488988d430 100644
--- a/firmware/target/arm/as3525/ata_sd_as3525.c
+++ b/firmware/target/arm/as3525/ata_sd_as3525.c
@@ -619,7 +619,7 @@ static int sd_select_bank(signed char bank)
619 619
620#define UNALIGNED_NUM_SECTORS 10 620#define UNALIGNED_NUM_SECTORS 10
621static unsigned char aligned_buffer[UNALIGNED_NUM_SECTORS* SECTOR_SIZE] __attribute__((aligned(32))); /* align on cache line size */ 621static unsigned char aligned_buffer[UNALIGNED_NUM_SECTORS* SECTOR_SIZE] __attribute__((aligned(32))); /* align on cache line size */
622static unsigned char *uncached_buffer = UNCACHED_ADDR(aligned_buffer); 622static unsigned char *uncached_buffer = UNCACHED_ADDR(&aligned_buffer[0]);
623 623
624static int sd_transfer_sectors(IF_MV2(int drive,) unsigned long start, 624static int sd_transfer_sectors(IF_MV2(int drive,) unsigned long start,
625 int count, void* buf, const bool write) 625 int count, void* buf, const bool write)