mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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
This commit is contained in:
parent
0f69a8152f
commit
2e32502ce5
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue