summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index aaac255..e6e5424 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1194,17 +1194,17 @@ bool dbg_ports(void)
lcd_puts(0, line++, buf);
line++;
- snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020));
+ snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", CLOCK_SOURCE);
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "CLOCK_0x2C: %08lx", inl(0x6000602c));
+ snprintf(buf, sizeof(buf), "CLCD_CLK_SRC: %08lx", CLCD_CLOCK_SRC);
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "CLOCK_0xA0: %08lx", inl(0x600060a0));
+ snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", PLL_CONTROL);
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034));
+ snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", PLL_STATUS);
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c));
+ snprintf(buf, sizeof(buf), "DEV_INIT: %08lx", DEV_INIT);
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "DEV_0x34: %08lx", inl(0x70000034));
+ snprintf(buf, sizeof(buf), "DEV_TIMING1: %08lx", DEV_TIMING1);
lcd_puts(0, line++, buf);
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
@@ -1274,6 +1274,8 @@ bool dbg_ports(void)
snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_D: %02x", gpio_c, gpio_d);
lcd_puts(0, line++, buf);
+ snprintf(buf, sizeof(buf), "DEV_EN: %08lx", DEV_EN);
+ lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "CLOCK_ENABLE: %08lx", CLOCK_ENABLE);
lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "CLOCK_SOURCE: %08lx", CLOCK_SOURCE);