[U-Boot] [U-Boot, v3] common: env_nand: Ensure that we have nand_info[0] prior to use

Tom Rini trini at konsulko.com
Tue Aug 16 03:11:26 CEST 2016


On Mon, Aug 15, 2016 at 01:02:15PM -0400, Tom Rini wrote:

> Now that nand_info[] is an array of pointers we need to ensure that it's
> been populated prior to use.  We may for example have ENV in NAND set in
> configurations that run on boards with and without NAND (where default
> env is fine enough, such as omap3_beagle and beagleboard (NAND) vs
> beagle xM (no NAND)).
> 
> Fixes: b616d9b0a708 ("nand: Embed mtd_info in struct nand_chip")
> Cc: Scott Wood <oss at buserror.net>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Acked-by: Scott Wood <oss at buserror.net>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160815/36c8a222/attachment.sig>


More information about the U-Boot mailing list