diff options
Diffstat (limited to 'firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c')
-rw-r--r--[-rwxr-xr-x] | firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c b/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c index 38f9758c14..58060403d5 100755..100644 --- a/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c +++ b/firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c | |||
@@ -48,8 +48,8 @@ | |||
48 | 48 | ||
49 | 49 | ||
50 | /** static, private data **/ | 50 | /** static, private data **/ |
51 | static uint8_t ceata_taskfile[16] __attribute__((aligned(16))); | 51 | static uint8_t ceata_taskfile[16] STORAGE_ALIGN_ATTR; |
52 | static uint16_t ata_identify_data[0x100] __attribute__((aligned(16))); | 52 | static uint16_t ata_identify_data[0x100] STORAGE_ALIGN_ATTR; |
53 | static bool ceata; | 53 | static bool ceata; |
54 | static bool ata_swap; | 54 | static bool ata_swap; |
55 | static bool ata_lba48; | 55 | static bool ata_lba48; |
@@ -68,7 +68,7 @@ static struct semaphore mmc_wakeup; | |||
68 | static struct semaphore mmc_comp_wakeup; | 68 | static struct semaphore mmc_comp_wakeup; |
69 | static int spinup_time = 0; | 69 | static int spinup_time = 0; |
70 | static int dma_mode = 0; | 70 | static int dma_mode = 0; |
71 | static char aligned_buffer[SECTOR_SIZE] __attribute__((aligned(0x10))); | 71 | static char aligned_buffer[SECTOR_SIZE] STORAGE_ALIGN_ATTR; |
72 | 72 | ||
73 | 73 | ||
74 | #ifdef ATA_HAVE_BBT | 74 | #ifdef ATA_HAVE_BBT |