summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2010-03-14 12:43:27 +0000
committerMichael Sparmann <theseven@rockbox.org>2010-03-14 12:43:27 +0000
commit2e32502ce51962b23fdf675d08fdfdd8c4d387f5 (patch)
treeba608e6dc247a34364da5648910dc5258ed4c834 /firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
parent0f69a8152fd7190b6b30aefd708071b625efddcd (diff)
downloadrockbox-2e32502ce51962b23fdf675d08fdfdd8c4d387f5.tar.gz
rockbox-2e32502ce51962b23fdf675d08fdfdd8c4d387f5.zip
More detailed panic message for Nano2G VFL fast read problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25163 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
index 4cf55766e5..9bac47e5bb 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
@@ -903,7 +903,9 @@ uint32_t ftl_vfl_read_fast(uint32_t vpage, void* buffer, void* sparebuffer,
(void)remaponfail;
#else
if (remaponfail == 1 && (ret & 0x11D) != 0 && (ret & 2) == 0)
- ftl_vfl_schedule_block_for_remap(i, block);
+ panicf("FTL: VFL fast read failed, RC %04X, bank %d, RET %03X, base %d",
+ rc, i, ret, vpage);
+// ftl_vfl_schedule_block_for_remap(i, block);
#endif
if (ret & 1) rc |= 1 << (i << 2);
if (ret & 2) rc |= 2 << (i << 2);