dm: fdt: Add a function to look up a chosen node
authorSimon Glass <sjg@chromium.org>
Thu, 4 Sep 2014 22:27:24 +0000 (16:27 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Sep 2014 18:59:59 +0000 (12:59 -0600)
commitaac07d49d00b4bc8ca3f4aca0f3ad26385fb1d37
tree5fd5a26caa1150bad11fb2d06e27d3f5a219dbf7
parentaddf9513d0b1a57062a8604330e8c0e822d9d214
dm: fdt: Add a function to look up a chosen node

Within /chosen we may have a node which points to another node, similar
to how /aliases works. Add a helper function to do this lookup.

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