summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 aaac255634..e6e542431d 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1194,17 +1194,17 @@ bool dbg_ports(void)
1194 lcd_puts(0, line++, buf); 1194 lcd_puts(0, line++, buf);
1195 line++; 1195 line++;
1196 1196
1197 snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020)); 1197 snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", CLOCK_SOURCE);
1198 lcd_puts(0, line++, buf); 1198 lcd_puts(0, line++, buf);
1199 snprintf(buf, sizeof(buf), "CLOCK_0x2C: %08lx", inl(0x6000602c)); 1199 snprintf(buf, sizeof(buf), "CLCD_CLK_SRC: %08lx", CLCD_CLOCK_SRC);
1200 lcd_puts(0, line++, buf); 1200 lcd_puts(0, line++, buf);
1201 snprintf(buf, sizeof(buf), "CLOCK_0xA0: %08lx", inl(0x600060a0)); 1201 snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", PLL_CONTROL);
1202 lcd_puts(0, line++, buf); 1202 lcd_puts(0, line++, buf);
1203 snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034)); 1203 snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", PLL_STATUS);
1204 lcd_puts(0, line++, buf); 1204 lcd_puts(0, line++, buf);
1205 snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c)); 1205 snprintf(buf, sizeof(buf), "DEV_INIT: %08lx", DEV_INIT);
1206 lcd_puts(0, line++, buf); 1206 lcd_puts(0, line++, buf);
1207 snprintf(buf, sizeof(buf), "DEV_0x34: %08lx", inl(0x70000034)); 1207 snprintf(buf, sizeof(buf), "DEV_TIMING1: %08lx", DEV_TIMING1);
1208 lcd_puts(0, line++, buf); 1208 lcd_puts(0, line++, buf);
1209 1209
1210#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) 1210#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
@@ -1274,6 +1274,8 @@ bool dbg_ports(void)
1274 snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_D: %02x", gpio_c, gpio_d); 1274 snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_D: %02x", gpio_c, gpio_d);
1275 lcd_puts(0, line++, buf); 1275 lcd_puts(0, line++, buf);
1276 1276
1277 snprintf(buf, sizeof(buf), "DEV_EN: %08lx", DEV_EN);
1278 lcd_puts(0, line++, buf);
1277 snprintf(buf, sizeof(buf), "CLOCK_ENABLE: %08lx", CLOCK_ENABLE); 1279 snprintf(buf, sizeof(buf), "CLOCK_ENABLE: %08lx", CLOCK_ENABLE);
1278 lcd_puts(0, line++, buf); 1280 lcd_puts(0, line++, buf);
1279 snprintf(buf, sizeof(buf), "CLOCK_SOURCE: %08lx", CLOCK_SOURCE); 1281 snprintf(buf, sizeof(buf), "CLOCK_SOURCE: %08lx", CLOCK_SOURCE);