[PATCH] mtd: nand: pxa3xx: set mtd->dev

Tom Rini trini at konsulko.com
Tue Jan 18 19:41:27 CET 2022


On Wed, Jan 05, 2022 at 04:01:00PM +0100, Robert Marko wrote:

> Currently the pxa3xx driver does not set the udevice in the mtd_info
> struct and this prevents the mtd from parsing the partitions via DTS
> like for SPI-NOR.
> 
> So simply set the mtd->dev to the driver udevice.
> 
> Signed-off-by: Robert Marko <robert.marko at sartura.hr>
> Reviewed-by: Stefan Roese <sr at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220118/adeec476/attachment.sig>


More information about the U-Boot mailing list