diff options
author | Allen Xu <b45815@freescale.com> | 2014-12-16 20:30:08 -0600 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:03 +0100 |
commit | 5426e8961b08a653f8d73323a394e87578e8a436 (patch) | |
tree | ea1565bdb116c210fa3427b6b186082eac6519aa /common | |
parent | 2f7a6d841eca78042f2a0a7158ad58ac8edfa5f3 (diff) |
MLK-10035-2: supports NAND chips with oob size up to 744 byte
Update the u-boot code to support NAND chips with oob size up to 744
byte.
For the NAND flash MT29F32G08CBADA, which consists of 2 planes x 1064
blocks per plane. Obviously the block number is not power-of-2. But all
MTD driver assumes the page per block and block per plane must be a
power of 2 number. So the last 40 blocks in each plane must be
truncated.
Signed-off-by: Allen Xu <b45815@freescale.com>
(cherry picked from commit 9045626dbc7798cc340f64699bc9bd35c537498a)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Conflicts:
include/linux/mtd/nand.h
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions