lantiq: Fix flash for targets with NO_XIP
For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails. Fix this by using pdev->resource[i].start instead. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44450v19.07.3_mercusys_ac12_duma
parent
af3b4077bd
commit
a15dd8ec78
Loading…
Reference in New Issue