diff options
author | Ivo Clarysse <ivo.clarysse@gmail.com> | 2009-04-15 11:56:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-15 13:33:22 +0200 |
commit | bb10e16b00a9d95317a31b221559c8fa787d7d12 (patch) | |
tree | fb7cdf3d948d6c21acfebcfb9087e8b173c3bf1c | |
parent | 4a6369bd9c4bfc11cc84abb151c5c9b139e94922 (diff) | |
download | barebox-bb10e16b00a9d95317a31b221559c8fa787d7d12.tar.gz barebox-bb10e16b00a9d95317a31b221559c8fa787d7d12.tar.xz |
u-boot v2 IMX NAND fix for i.MX21
Without the patch below, the result of the second READID will not
match that of the first READID, yielding
nand_get_flash_type: second ID read did not match ec,36 against a5,bd
instead of
NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND
64MiB 1,8V 8-bit)
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
-rw-r--r-- | drivers/nand/nand_imx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c index cefa585bac..3c622b3509 100644 --- a/drivers/nand/nand_imx.c +++ b/drivers/nand/nand_imx.c @@ -917,6 +917,7 @@ static void imx_nand_command(struct mtd_info *mtd, unsigned command, break; case NAND_CMD_READID: + host->col_addr = 0; send_read_id(host); break; |