summaryrefslogtreecommitdiff
path: root/apps
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
parentede373108adbd3bfb54f93c3c9841179fd581f21 (diff)
downloadrockbox-7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8.tar.gz
rockbox-7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8.zip
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')
-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 086ca9e3a7..eec0dc3c61 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1082,7 +1082,6 @@ bool dbg_ports(void)
1082 lcd_puts(0, line++, buf); 1082 lcd_puts(0, line++, buf);
1083 snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_I: %02x", gpio_c, gpio_i); 1083 snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_I: %02x", gpio_c, gpio_i);
1084 lcd_puts(0, line++, buf); 1084 lcd_puts(0, line++, buf);
1085 line++;
1086 1085
1087 gpio_d = GPIOD_INPUT_VAL; 1086 gpio_d = GPIOD_INPUT_VAL;
1088 gpio_e = GPIOE_INPUT_VAL; 1087 gpio_e = GPIOE_INPUT_VAL;
@@ -1102,11 +1101,15 @@ bool dbg_ports(void)
1102 1101
1103 snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020)); 1102 snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020));
1104 lcd_puts(0, line++, buf); 1103 lcd_puts(0, line++, buf);
1104 snprintf(buf, sizeof(buf), "CLOCK_0x2C: %08lx", inl(0x6000602c));
1105 lcd_puts(0, line++, buf);
1106 snprintf(buf, sizeof(buf), "CLOCK_0xA0: %08lx", inl(0x600060a0));
1107 lcd_puts(0, line++, buf);
1105 snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034)); 1108 snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034));
1106 lcd_puts(0, line++, buf); 1109 lcd_puts(0, line++, buf);
1107 snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c)); 1110 snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c));
1108 lcd_puts(0, line++, buf); 1111 lcd_puts(0, line++, buf);
1109 snprintf(buf, sizeof(buf), "DEV_PLL: %08lx", inl(0x70000020)); 1112 snprintf(buf, sizeof(buf), "DEV_0x34: %08lx", inl(0x70000034));
1110 lcd_puts(0, line++, buf); 1113 lcd_puts(0, line++, buf);
1111 1114
1112#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) 1115#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)