On 03/01/2015 08:33 AM, Sascha Hauer wrote: [...] >> + root = of_unflatten_dtb(dtb); > > of_unflatten_dtb is only defined when CONFIG_OFTREE is enabled. I see > nothing in this patch selectin this option or depending on this option. > Does this compile with device tree support disabled? Doh! - Now it does. I'm left with: > undefined reference to `of_find_node_by_alias' > undefined reference to `of_register_fixup' because they have no NOOPs in case if !CONFIG_OFTREE. I'll add them in a separate patch, to avoid having ifdefs in the C code. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |