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 | |
parent | 6c36a58e49e44260255345a2889fafef04cc893e (diff) | |
download | rockbox-e3ec22b607eca7bee39b6505905d5f548529c7f2.tar.gz rockbox-e3ec22b607eca7bee39b6505905d5f548529c7f2.zip |
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')
-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 aaac255634..e6e542431d 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1194,17 +1194,17 @@ bool dbg_ports(void) | |||
1194 | lcd_puts(0, line++, buf); | 1194 | lcd_puts(0, line++, buf); |
1195 | line++; | 1195 | line++; |
1196 | 1196 | ||
1197 | snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", inl(0x60006020)); | 1197 | snprintf(buf, sizeof(buf), "CLOCK_SRC: %08lx", CLOCK_SOURCE); |
1198 | lcd_puts(0, line++, buf); | 1198 | lcd_puts(0, line++, buf); |
1199 | snprintf(buf, sizeof(buf), "CLOCK_0x2C: %08lx", inl(0x6000602c)); | 1199 | snprintf(buf, sizeof(buf), "CLCD_CLK_SRC: %08lx", CLCD_CLOCK_SRC); |
1200 | lcd_puts(0, line++, buf); | 1200 | lcd_puts(0, line++, buf); |
1201 | snprintf(buf, sizeof(buf), "CLOCK_0xA0: %08lx", inl(0x600060a0)); | 1201 | snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", PLL_CONTROL); |
1202 | lcd_puts(0, line++, buf); | 1202 | lcd_puts(0, line++, buf); |
1203 | snprintf(buf, sizeof(buf), "PLL_CONTROL: %08lx", inl(0x60006034)); | 1203 | snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", PLL_STATUS); |
1204 | lcd_puts(0, line++, buf); | 1204 | lcd_puts(0, line++, buf); |
1205 | snprintf(buf, sizeof(buf), "PLL_STATUS: %08lx", inl(0x6000603c)); | 1205 | snprintf(buf, sizeof(buf), "DEV_INIT: %08lx", DEV_INIT); |
1206 | lcd_puts(0, line++, buf); | 1206 | lcd_puts(0, line++, buf); |
1207 | snprintf(buf, sizeof(buf), "DEV_0x34: %08lx", inl(0x70000034)); | 1207 | snprintf(buf, sizeof(buf), "DEV_TIMING1: %08lx", DEV_TIMING1); |
1208 | lcd_puts(0, line++, buf); | 1208 | lcd_puts(0, line++, buf); |
1209 | 1209 | ||
1210 | #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) | 1210 | #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) |
@@ -1274,6 +1274,8 @@ bool dbg_ports(void) | |||
1274 | snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_D: %02x", gpio_c, gpio_d); | 1274 | snprintf(buf, sizeof(buf), "GPIO_C: %02x GPIO_D: %02x", gpio_c, gpio_d); |
1275 | lcd_puts(0, line++, buf); | 1275 | lcd_puts(0, line++, buf); |
1276 | 1276 | ||
1277 | snprintf(buf, sizeof(buf), "DEV_EN: %08lx", DEV_EN); | ||
1278 | lcd_puts(0, line++, buf); | ||
1277 | snprintf(buf, sizeof(buf), "CLOCK_ENABLE: %08lx", CLOCK_ENABLE); | 1279 | snprintf(buf, sizeof(buf), "CLOCK_ENABLE: %08lx", CLOCK_ENABLE); |
1278 | lcd_puts(0, line++, buf); | 1280 | lcd_puts(0, line++, buf); |
1279 | snprintf(buf, sizeof(buf), "CLOCK_SOURCE: %08lx", CLOCK_SOURCE); | 1281 | snprintf(buf, sizeof(buf), "CLOCK_SOURCE: %08lx", CLOCK_SOURCE); |