summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8702/debug-s5l8702.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s5l8702/debug-s5l8702.c')
-rw-r--r--firmware/target/arm/s5l8702/debug-s5l8702.c5
1 files changed, 5 insertions, 0 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);