]> git.baikalelectronics.ru Git - uboot.git/commit
nand: pxa3xx: Increase READ_ID buffer and make the size static
authorOfer Heifetz <oferh@marvell.com>
Wed, 29 Aug 2018 08:56:05 +0000 (11:56 +0300)
committerStefan Roese <sr@denx.de>
Wed, 19 Sep 2018 07:00:39 +0000 (09:00 +0200)
commitee86eea7c0ca04b0d858870a3458de41c139fb6b
treeb5bcbce86efa879f5e47299542f828015c52546a
parentd62d6ca36d51dab6dfd4ff5a8bf6d501ffa5ea54
nand: pxa3xx: Increase READ_ID buffer and make the size static

The read ID count should be made as large as the maximum READ_ID size,
so there's no need to have dynamic size. This commit sets the hardware
maximum read ID count, which should be more than enough on all cases.
Also, we get rid of the read_id_bytes, and use a macro instead.

This commit is taken from Linux:
'commit b226eca2088'
("nand: pxa3xx: Increase READ_ID buffer and make the size static")

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/pxa3xx_nand.c