summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2010-03-14 15:26:59 +0000
committerMichael Sparmann <theseven@rockbox.org>2010-03-14 15:26:59 +0000
commit183e9f152015c77259513567bbc3e8ad3e674dfd (patch)
tree4f7fde76fe36f0e9ea24f5248873452d5ae1e727 /firmware
parent884147c5e225af3cce71900e47ce70abd260dfd5 (diff)
Nano2G VFL: reset the bank again before the second slow read try
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25167 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
index b5f179ce89..a24cc4b77c 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
@@ -900,6 +900,7 @@ uint32_t ftl_vfl_read_fast(uint32_t vpage, void* buffer, void* sparebuffer,
1, checkempty);
if ((ret & 0x11D) != 0 && (ret & 2) == 0)
{
+ nand_reset(i);
ret = nand_read_page(i, physpage,
(void*)((uint32_t)buffer + 0x800 * i),
(void*)((uint32_t)sparebuffer + 0x40 * i),