From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Ruder Date: Wed, 5 Nov 2014 13:23:25 -0600 Subject: [U-Boot] [PATCH 2/2] mtd: nor: initialize writebufsize field In-Reply-To: <5459CB05.5060405@denx.de> References: <1415117278-1255-1-git-send-email-andrew.ruder@elecsyscorp.com> <1415117278-1255-2-git-send-email-andrew.ruder@elecsyscorp.com> <5459CB05.5060405@denx.de> Message-ID: <20141105192325.GC12864@og3k> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 05, 2014 at 08:00:21AM +0100, Heiko Schocher wrote: > >diff --git a/drivers/mtd/cfi_mtd.c b/drivers/mtd/cfi_mtd.c > >index ac805ff..d4c9609 100644 > >--- a/drivers/mtd/cfi_mtd.c > >+++ b/drivers/mtd/cfi_mtd.c > >@@ -226,6 +226,7 @@ int cfi_mtd_init(void) > > mtd->flags = MTD_CAP_NORFLASH; > > mtd->size = fi->size; > > mtd->writesize = 1; > >+ mtd->writebufsize = fi->buffer_size; > ^ should be cfi > > This is a typo ... your patch would not compile ... please just > ack the patch [1], thanks! I responded on the other thread with your other patch. I apologize for not seeing it originally. This patch, imo, is correct though and definitely compiles - not a typo! - Andy