[PATCH] mtd: of_mtd_fixup(): fix given DT not the default one

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Apr 30 09:29:44 PDT 2015


Hei Marc,

On Thu, Apr 30, 2015 at 04:21:18PM +0200, Marc Kleine-Budde wrote:
> 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.
this seems to be the explanation for the question that arose in the
"mtd: partition: Fix OF partition fixup" thread. Namely why isn't there
a mismatch of the register sizes when using an external device tree.

Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Did you check since when this is broken? A Fixes tag would be nice.

Best regards and thanks for looking into this
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the barebox mailing list