commit | b2fb6bacc44476e9daf1ccd165c7948dfce3556f | [log] [tgz] |
---|---|---|
author | Channagoud Kadabi <ckadabi@codeaurora.org> | Fri Jul 29 19:19:01 2011 +0530 |
committer | Channagoud Kadabi <ckadabi@codeaurora.org> | Wed Aug 03 22:57:51 2011 +0530 |
tree | e41de6488ea3cbfa6a55a5c51d4af55c9adc779d | |
parent | 98b8091814b01450065f8f8dee9d254ea4d37068 [diff] |
[NAND]: Avoid reading bad block marker for each page Add support to prepare bad block table and use the same to check for bad blocks before reading any page. This would avoid calling isbad() function for each page and will be more efficient. With current implementation we are calling isbad() function around 2048 times for reading 8MB of boot image. Change-Id: I9b58c43a71de6a3e42997d2f1a150f3330df33c2 CRs-Fixed: 288863