diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2007-08-03 19:20:29 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2007-08-03 19:20:29 +0000 |
| commit | e3ec22b607eca7bee39b6505905d5f548529c7f2 (patch) | |
| tree | c378b1aa3959021169f1ec622bb49634a3ecbb80 /apps/debug_menu.c | |
| parent | 6c36a58e49e44260255345a2889fafef04cc893e (diff) | |
| download | rockbox-e3ec22b607eca7bee39b6505905d5f548529c7f2.zip rockbox-e3ec22b607eca7bee39b6505905d5f548529c7f2.tar.gz rockbox-e3ec22b607eca7bee39b6505905d5f548529c7f2.tar.bz2 rockbox-e3ec22b607eca7bee39b6505905d5f548529c7f2.tar.xz | |
Updated & added some PP register debug stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14166 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index aaac255..e6e5424 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); |