dt: add helper for empty dt creation
authorAlexander Graf <agraf@suse.de>
Thu, 17 May 2012 13:33:54 +0000 (15:33 +0200)
committerAlexander Graf <agraf@suse.de>
Sat, 23 Jun 2012 23:04:46 +0000 (01:04 +0200)
commitce36252cc1711a5e222ed68e72235088aec2529d
treed8bed75b452a6a9fae70c465196f01285a84d113
parent7d5fd1089c36391ffc53a694101f441ab8cbbc05
dt: add helper for empty dt creation

We want to get rid of the concept of loading an external device tree and instead
generate our own. However, to do this we need to also create a device tree
template programatically.

This patch adds a helper to create an empty device tree in memory.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
device_tree.c
device_tree.h