fdt: Add a function to look up a /chosen property
authorSimon Glass <sjg@chromium.org>
Sun, 18 Oct 2015 01:41:14 +0000 (19:41 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 4 Nov 2015 13:49:51 +0000 (14:49 +0100)
commit3bc37a50e0db9978c6fbb1b2b6c3a351cebe631e
treef8a7b3409e4da684b0f394eaac2b89d49c444d33
parent44303dfa792b0a4f81d6f6a719467db9a20063b5
fdt: Add a function to look up a /chosen property

It is sometimes useful to find a property in the chosen node. Add a function
for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/fdtdec.h
lib/fdtdec.c