summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/s5l8702/debug-s5l8702.c5
-rw-r--r--[-rwxr-xr-x]firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8702/debug-s5l8702.c b/firmware/target/arm/s5l8702/debug-s5l8702.c
index 27d1ccb7b8..66bfa36a93 100644
--- a/firmware/target/arm/s5l8702/debug-s5l8702.c
+++ b/firmware/target/arm/s5l8702/debug-s5l8702.c
@@ -61,6 +61,11 @@ bool dbg_hw_info(void)
61 _DEBUG_PRINTF("speed: %d MHz", ((CLKCON0 & 1) ? 61 _DEBUG_PRINTF("speed: %d MHz", ((CLKCON0 & 1) ?
62 CPUFREQ_NORMAL : CPUFREQ_MAX) / 1000000); 62 CPUFREQ_NORMAL : CPUFREQ_MAX) / 1000000);
63 _DEBUG_PRINTF("current_tick: %d", (unsigned int)current_tick); 63 _DEBUG_PRINTF("current_tick: %d", (unsigned int)current_tick);
64 uint32_t __res;
65 asm volatile ("mrc p15, 0, %0, c0, c0, 0" : "=r"(__res));
66 _DEBUG_PRINTF("ID code: %08x", __res);
67 asm volatile ("mrc p15, 0, %0, c0, c0, 1" : "=r"(__res));
68 _DEBUG_PRINTF("cache type: %08x", __res);
64 line++; 69 line++;
65 70
66 _DEBUG_PRINTF("LCD type: %d", lcd_type); 71 _DEBUG_PRINTF("LCD type: %d", lcd_type);
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 **/
51static uint8_t ceata_taskfile[16] __attribute__((aligned(16))); 51static uint8_t ceata_taskfile[16] STORAGE_ALIGN_ATTR;
52static uint16_t ata_identify_data[0x100] __attribute__((aligned(16))); 52static uint16_t ata_identify_data[0x100] STORAGE_ALIGN_ATTR;
53static bool ceata; 53static bool ceata;
54static bool ata_swap; 54static bool ata_swap;
55static bool ata_lba48; 55static bool ata_lba48;
@@ -68,7 +68,7 @@ static struct semaphore mmc_wakeup;
68static struct semaphore mmc_comp_wakeup; 68static struct semaphore mmc_comp_wakeup;
69static int spinup_time = 0; 69static int spinup_time = 0;
70static int dma_mode = 0; 70static int dma_mode = 0;
71static char aligned_buffer[SECTOR_SIZE] __attribute__((aligned(0x10))); 71static char aligned_buffer[SECTOR_SIZE] STORAGE_ALIGN_ATTR;
72 72
73 73
74#ifdef ATA_HAVE_BBT 74#ifdef ATA_HAVE_BBT