[U-Boot] [PATCH] nand: Fix nand info for no device

Scott Wood oss at buserror.net
Tue Aug 30 00:59:05 CEST 2016


On Mon, 2016-08-29 at 09:11 -0700, Tony Lindgren wrote:
> Looks like we have few more places where we're testing for
> nand_info[i]->name. We can now use just test for nand_info[i]
> instead.
> 
> This fixes a data abort on devices with no NAND when doing
> nand info.
> 
> Signed-off-by: Tony Lindgren <tony at atomide.com>
> ---
>  cmd/nand.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

I also see a few instances of this in drivers/dfu/dfu_nand.c and
drivers/mtd/nand/omap_gpmc.c.

-Scott



More information about the U-Boot mailing list