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

Scott Wood oss at buserror.net
Wed Aug 24 02:04:45 CEST 2016


On Tue, 2016-08-23 at 15:21 -0700, Tony Lindgren wrote:
> OK seems to work. Updated patch below.
> 
> Regards,
> 
> Tony
> 8< -----------------
> From: Tony Lindgren <tony at atomide.com>
> Date: Tue, 23 Aug 2016 15:14:26 -0700
> Subject: [PATCHv2] nand: Fix set_dev checks for no device

Could you please send a standalone patch (no 8< ------) generated by git, or
at least that has the "diff" line?  These aren't even showing up in patchwork
as is.


> If we do nand device 0 command in u-boot on a device that has NAND support
> enabled but no NAND chip, we can get data abort at least on omaps.
> 
> Fix the issue by replaceing the check with nand_info[dev] as
> suggested by Scott Wood.

"replacing the name check with..."

-Scott



More information about the U-Boot mailing list