From e3ec22b607eca7bee39b6505905d5f548529c7f2 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 3 Aug 2007 19:20:29 +0000 Subject: Updated & added some PP register debug stuff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14166 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'apps/debug_menu.c') 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) lcd_puts(0, line++, buf); line++; - snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020)); + snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", CLOCK_SOURCE); lcd_puts(0, line++, buf); - snprintf(buf, sizeof(buf), "CLOCK_0x2C: %08lx", inl(0x6000602c)); + snprintf(buf, sizeof(buf), "CLCD_CLK_SRC: %08lx", CLCD_CLOCK_SRC); lcd_puts(0, line++, buf); - snprintf(buf, sizeof(buf), "CLOCK_0xA0: %08lx", inl(0x600060a0)); + snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", PLL_CONTROL); lcd_puts(0, line++, buf); - snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034)); + snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", PLL_STATUS); lcd_puts(0, line++, buf); - snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c)); + snprintf(buf, sizeof(buf), "DEV_INIT: %08lx", DEV_INIT); lcd_puts(0, line++, buf); - snprintf(buf, sizeof(buf), "DEV_0x34: %08lx", inl(0x70000034)); + snprintf(buf, sizeof(buf), "DEV_TIMING1: %08lx", DEV_TIMING1); lcd_puts(0, line++, buf); #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) @@ -1274,6 +1274,8 @@ bool dbg_ports(void) snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_D: %02x", gpio_c, gpio_d); lcd_puts(0, line++, buf); + snprintf(buf, sizeof(buf), "DEV_EN: %08lx", DEV_EN); + lcd_puts(0, line++, buf); snprintf(buf, sizeof(buf), "CLOCK_ENABLE: %08lx", CLOCK_ENABLE); lcd_puts(0, line++, buf); snprintf(buf, sizeof(buf), "CLOCK_SOURCE: %08lx", CLOCK_SOURCE); -- cgit v1.2.3