Skip to content
Commit 429866e8 authored by Robert Marko's avatar Robert Marko Committed by Tom Rini
Browse files

mtd: nand: pxa3xx: set mtd->dev



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: default avatarRobert Marko <robert.marko@sartura.hr>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent 4e81f3be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment