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.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 301fca834b..918a969a95 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -622,7 +622,7 @@ static bool dbg_hw_info(void)
622 622
623 snprintf(buf, sizeof(buf), "Est. clock (kHz): %d", perfcheck()); 623 snprintf(buf, sizeof(buf), "Est. clock (kHz): %d", perfcheck());
624 lcd_puts(0, line++, buf); 624 lcd_puts(0, line++, buf);
625 625
626 lcd_update(); 626 lcd_update();
627 627
628 while (!(action_userabort(TIMEOUT_BLOCK))); 628 while (!(action_userabort(TIMEOUT_BLOCK)));
@@ -651,7 +651,7 @@ static bool dbg_hw_info(void)
651 lcd_puts(0, line++, buf); 651 lcd_puts(0, line++, buf);
652 652
653 snprintf(buf, sizeof(buf), "Est. clock (kHz): %d", perfcheck()); 653 snprintf(buf, sizeof(buf), "Est. clock (kHz): %d", perfcheck());
654 lcd_puts(0, line++, buf); 654 lcd_puts(0, line++, buf);
655 655
656 lcd_update(); 656 lcd_update();
657 657
@@ -1201,19 +1201,15 @@ bool dbg_ports(void)
1201 snprintf(buf, sizeof(buf), "GPIO_F: %02x GPIO_L: %02x", gpio_f, gpio_l); 1201 snprintf(buf, sizeof(buf), "GPIO_F: %02x GPIO_L: %02x", gpio_f, gpio_l);
1202 lcd_puts(0, line++, buf); 1202 lcd_puts(0, line++, buf);
1203 line++; 1203 line++;
1204 1204
1205 snprintf(buf, sizeof(buf), "DEV_EN: %08lx", DEV_EN); 1205 snprintf(buf, sizeof(buf), "GPO32: %08lx", GPO32_VAL);
1206 lcd_puts(0, line++, buf);
1207 snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", CLOCK_SOURCE);
1208 lcd_puts(0, line++, buf);
1209 snprintf(buf, sizeof(buf), "CLCD_CLK_SRC: %08lx", CLCD_CLOCK_SRC);
1210 lcd_puts(0, line++, buf);
1211 snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", PLL_CONTROL);
1212 lcd_puts(0, line++, buf); 1206 lcd_puts(0, line++, buf);
1213 snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", PLL_STATUS); 1207 snprintf(buf, sizeof(buf), "DEV_EN: %08lx", DEV_EN);
1214 lcd_puts(0, line++, buf); 1208 lcd_puts(0, line++, buf);
1215 snprintf(buf, sizeof(buf), "DEV_TIMING1: %08lx", DEV_TIMING1); 1209 snprintf(buf, sizeof(buf), "DEV_EN2: %08lx", DEV_EN2);
1216 lcd_puts(0, line++, buf); 1210 lcd_puts(0, line++, buf);
1211 snprintf(buf, sizeof(buf), "DEV_EN3: %08lx", inl(0x60006044));
1212 lcd_puts(0, line++, buf); /* to be verified */
1217 1213
1218#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) 1214#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
1219 line++; 1215 line++;