From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Thu, 10 Sep 2015 20:19:37 +0200 Subject: [U-Boot] [PATCH] sunxi_nand_spl: Add config parameter for 4KiB page sized NAND devices In-Reply-To: <1441370580-3610-1-git-send-email-sr@denx.de> References: <1441370580-3610-1-git-send-email-sr@denx.de> Message-ID: <55F1C9B9.2060405@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 04-09-15 14:43, Stefan Roese wrote: > 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 > Cc: Hans de Goede > Cc: Ian Campbell Thanks I've queued this in my tree and it will be part of the next pull-req. Regards, Hans > --- > drivers/mtd/nand/sunxi_nand_spl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mtd/nand/sunxi_nand_spl.c b/drivers/mtd/nand/sunxi_nand_spl.c > index bf9b1b1..5985534 100644 > --- a/drivers/mtd/nand/sunxi_nand_spl.c > +++ b/drivers/mtd/nand/sunxi_nand_spl.c > @@ -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; >