diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-12 15:56:43 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-12 15:56:43 +0000 |
commit | 0cdd21e9dcddc36248eea34cd25a2de0d88412ad (patch) | |
tree | 832131e5c2db92673f45e8b1d9a957269c7ce52c /apps | |
parent | 85d738346aea507294909dc57e65ae5c20f5e25a (diff) | |
download | rockbox-0cdd21e9dcddc36248eea34cd25a2de0d88412ad.tar.gz rockbox-0cdd21e9dcddc36248eea34cd25a2de0d88412ad.zip |
iPod: dummy implementation of dbg_flash_id()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index dd6a2d76a5..79448b14aa 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -351,6 +351,13 @@ bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device, unsigned addr1, unsigned addr2) { +#if CONFIG_CPU == PP5020 + /* TODO: Implement for iPod */ + (void)p_manufacturer; + (void)p_device; + (void)addr1; + (void)addr2; +#else unsigned not_manu, not_id; /* read values before switching to ID mode */ unsigned manu, id; /* read values when in ID mode */ #if CONFIG_CPU == TCC730 @@ -398,10 +405,10 @@ bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device, *p_device = id; return true; /* success */ } +#endif return false; /* fail */ } - #ifdef HAVE_LCD_BITMAP bool dbg_hw_info(void) { |