Skip to content
Commit 5e46b1e5 authored by Stefan Roese's avatar Stefan Roese Committed by Scott Wood
Browse files

OneNAND: Add missing mtd info struct before calling onenand_erase()



Without this patch "saveenv" crashes when MTD partitions are enabled (e.g.
for use in UBI) via CONFIG_MTD_PARTITIONS.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 2077e348
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment