fdt: Add function to get a config string from device tree
authorSimon Glass <sjg@chromium.org>
Thu, 25 Oct 2012 16:30:59 +0000 (16:30 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 13 Nov 2012 04:00:34 +0000 (23:00 -0500)
commit332ab0d54aaa5b8b27096996d10c8c6183c6972c
treec9826049418146dbffb389eacd90c12f5a38f8c5
parent09258f1e8b12acc4a2a02b60d942660798038fba
fdt: Add function to get a config string from device tree

Add a function to look up a configuration string such as board name
and returns its value. We look in the "/config" node for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h
lib/fdtdec.c