mt29f nand driver: actually use remapped bad blocks in read/write operations.
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 4 May 2011 15:44:52 +0000 (15:44 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 4 May 2011 15:44:52 +0000 (15:44 +0000)
commit479f0f0703da2637ed5f6c1e94d6433702441fee
tree94be9e02acbd0be076ef8f855d5786c0bb72e32f
parentb4b73dd7263351c980f94f8098c1334c3aa78d5e
mt29f nand driver: actually use remapped bad blocks in read/write operations.

Simplify code for block/page conversion operations and add some debug
diagnostics.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4878 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/mt29f_sam3.c
bertos/drv/mt29f.h