From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 17 Sep 2012 17:22:19 -0500 Subject: [U-Boot] [PATCH] mtd: support ONFI multi lun NAND In-Reply-To: <20120917212109.GA25131@buserror.net> (from matthieu.castet@parrot.com on Mon Sep 17 16:21:09 2012) References: <20120917212109.GA25131@buserror.net> Message-ID: <1347920539.19543.18@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/17/2012 04:21:09 PM, Matthieu CASTET wrote: > With onfi a flash is organized into one or more logical units (LUNs). > A logical unit (LUN) is the minimum unit that can independently > execute > commands and report status. > > Mtd does not exploit LUN, so make it see a big single flash where > size is > lun_size * number_of_lun. > > Without this patch MT29F8G08ADBDAH4 size is 512MiB instead of 1GiB. > > Artem: split long line on 2 shorter ones. > > This is commit 637957551c0ac80de8dfc7650d320c5a98c2c0c0 from Linux > > Signed-off-by: Matthieu Castet > Acked-by: Florian Fainelli > Signed-off-by: Artem Bityutskiy > Signed-off-by: David Woodhouse > [scottwood at freescale.com: picked from Linux into U-Boot] > Reported-by: Rafael Beims > Signed-off-by: Scott Wood Sigh, this was posted by me, not Matthieu -- I forgot to fix up the output of git format-patch before running mutt on it. Please don't reply to Matthieu (at least regarding anything U-Boot specific). -Scott