[PATCH 07/16] sandbox: add support to pass dtb to barebox

Marc Kleine-Budde mkl at pengutronix.de
Sun Mar 1 02:46:38 PST 2015


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   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20150301/fb828f6a/attachment.sig>


More information about the barebox mailing list