base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch
1 From 82dad325809637899313315c3103985df94c90a5 Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
3 Date: Tue, 14 May 2013 08:15:24 -0300
4 Subject: [PATCH 110/203] mtd: nand: pxa3xx: Add address support for READID
5  command
6
7 This allows to support READID ONFI command which sends 0x20
8 as address together with the 0x90 READID command.
9
10 This is required to detect ONFI compliant devices.
11
12 Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
13 Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
14 Acked-by: Igor Grinberg <grinberg@compulab.co.il>
15 Reviewed-by: Haojian Zhuang <haojian.zhuang@gmail.com>
16 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
17 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
18 ---
19  drivers/mtd/nand/pxa3xx_nand.c | 1 +
20  1 file changed, 1 insertion(+)
21
22 --- a/drivers/mtd/nand/pxa3xx_nand.c
23 +++ b/drivers/mtd/nand/pxa3xx_nand.c
24 @@ -596,6 +596,7 @@ static int prepare_command_pool(struct p
25                 info->ndcb0 |= NDCB0_CMD_TYPE(3)
26                                 | NDCB0_ADDR_CYC(1)
27                                 | cmd;
28 +               info->ndcb1 = (column & 0xFF);
29  
30                 info->data_size = 8;
31                 break;