]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Add function to get config int from device tree
authorAbhilash Kesavan <a.kesavan@samsung.com>
Thu, 25 Oct 2012 16:30:58 +0000 (16:30 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 13 Nov 2012 04:00:34 +0000 (23:00 -0500)
commit09258f1e8b12acc4a2a02b60d942660798038fba
tree8dbbdd3551ac7fa56022cc1337032385a42800af
parent59852d03867108217fe88e3bfc3e1e9cedfe63c5
fdt: Add function to get config int from device tree

Add a function to look up a configuration item such as machine id
and return its value.

Note: The code has been taken as is from the Chromium u-boot development
tree and needs Simon Glass' sign-off.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h
lib/fdtdec.c