diff options
author | Allen Xu <b45815@freescale.com> | 2014-12-16 20:30:08 -0600 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 14:46:01 +0800 |
commit | 77ca54d246cf90af88afe4eb93e63823b1de1e4a (patch) | |
tree | 921000930157c140529a8ea2930a85ca50be37d9 /common/main.c | |
parent | 823e4975ecf30c59d949fafae47d8a37dd82f36c (diff) | |
download | u-boot-imx-77ca54d246cf90af88afe4eb93e63823b1de1e4a.zip u-boot-imx-77ca54d246cf90af88afe4eb93e63823b1de1e4a.tar.gz u-boot-imx-77ca54d246cf90af88afe4eb93e63823b1de1e4a.tar.bz2 |
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/main.c')
0 files changed, 0 insertions, 0 deletions