mtd: of_mtd_fixup(): fix given DT not the default one
We have to start searching for the mtd node starting in the given root node not
the defaukt (= barebox internal) one. This means the internal DT is always
fixed up. This leads to booting not fixed up DT when using external DTs.

This patch fixes the problem.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d098f2c commit 6da925f87c66cd9132018b4b08a84fa98c382aa7
@Marc Kleine-Budde Marc Kleine-Budde authored on 30 Apr 2015
Sascha Hauer committed on 1 May 2015
Showing 1 changed file
View
drivers/mtd/core.c