summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/Makefile
diff options
context:
space:
mode:
authorOfer Heifetz <oferh@marvell.com>2018-08-29 11:56:00 +0300
committerStefan Roese <sr@denx.de>2018-09-19 09:00:39 +0200
commit144532242ed3588bf63acccc6a46399b87861c03 (patch)
tree271d5c45d52e78e5fe97c505cef6dd2800c4e87e /drivers/mtd/nand/Makefile
parent863949e383a96bc698261ef14b195018fcb0100d (diff)
mtd: nand: pxa3xx_nand: Increase initial buffer size
The initial buffer is used for the initial commands used to detect a flash device (STATUS, READID and PARAM). ONFI param page is 256 bytes, and there are three redundant copies to be read. JEDEC param page is 512 bytes, and there are also three redundant copies to be read. Hence this buffer should be at least 512 x 3. This commits rounds the buffer size to 2048. This commit is taken from Linux: 'commit c16340973fcb64614' ("nand: pxa3xx: Increase initial buffer size") 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>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
0 files changed, 0 insertions, 0 deletions