summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-07-03 00:42:42 +0000
committerJens Arnold <amiconn@rockbox.org>2007-07-03 00:42:42 +0000
commit7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8 (patch)
tree244f49047baface22ef7a39dea7501f9a8271d42 /apps/debug_menu.c
parentede373108adbd3bfb54f93c3c9841179fd581f21 (diff)
downloadrockbox-7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8.zip
rockbox-7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8.tar.gz
rockbox-7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8.tar.bz2
rockbox-7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8.tar.xz
More PP502x clock setup rework. This should fix the freezes on PP5020 once and for all. Enabled clock scaling for H10. * CPUFREQ_MAX changed to 78MHz * To be cleaned up soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13767 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 086ca9e..eec0dc3 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1082,7 +1082,6 @@ bool dbg_ports(void)
lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_I: %02x", gpio_c, gpio_i);
lcd_puts(0, line++, buf);
- line++;
gpio_d = GPIOD_INPUT_VAL;
gpio_e = GPIOE_INPUT_VAL;
@@ -1102,11 +1101,15 @@ bool dbg_ports(void)
snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020));
lcd_puts(0, line++, buf);
+ snprintf(buf, sizeof(buf), "CLOCK_0x2C: %08lx", inl(0x6000602c));
+ lcd_puts(0, line++, buf);
+ snprintf(buf, sizeof(buf), "CLOCK_0xA0: %08lx", inl(0x600060a0));
+ lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034));
lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c));
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "DEV_PLL: %08lx", inl(0x70000020));
+ snprintf(buf, sizeof(buf), "DEV_0x34: %08lx", inl(0x70000034));
lcd_puts(0, line++, buf);
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)