From 7b861eca95b54f4132e2ed6a8f9c0edbf0a65ab8 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 3 Jul 2007 00:42:42 +0000 Subject: 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 --- apps/debug_menu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps') 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) 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) -- cgit v1.2.3