mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
sunxi_nand_spl: Add config parameter for 4KiB page sized NAND devices
This patch adds support for NAND chips with 4KiB page size and 24/1024 ECC strength. Like the Micron MT29F32G08CBACAWP which is used on the ICnova-A20 SoM. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
bfb05d0187
commit
cc19722f04
1 changed files with 1 additions and 0 deletions
|
@ -321,6 +321,7 @@ static int nand_read_buffer(uint32_t offs, unsigned int size, void *dest,
|
|||
{ 8192, 40, 1024, 5 },
|
||||
{ 16384, 56, 1024, 5 },
|
||||
{ 8192, 24, 1024, 5 },
|
||||
{ 4096, 24, 1024, 5 },
|
||||
};
|
||||
static int nand_config = -1;
|
||||
int i;
|
||||
|
|
Loading…
Add table
Reference in a new issue