Re: [PATCH 11/17] add support for device trees

2014-02-03 Thread Christoffer Dall
On Mon, Feb 03, 2014 at 04:31:24PM +0100, Andrew Jones wrote: On Sat, Feb 01, 2014 at 06:27:15PM -0800, Christoffer Dall wrote: On Tue, Jan 21, 2014 at 05:21:57PM +0100, Andrew Jones wrote: [...] + +int dt_get_reg(int nodeoffset, int regidx, u32 *address_cells, +u32

[PATCH 11/17] add support for device trees

2014-01-21 Thread Andrew Jones
Add some device tree functions, built on libfdt, to the common code in order to facilitate the extraction of boot info and device base addresses. These functions are generic and arch-neutral. It's expected that more functions will be added as more information from the device tree is needed.