]> git.sur5r.net Git - u-boot/commit
fdt_support: split fdt_getprop_u32_default
authorAlexander Graf <agraf@suse.de>
Fri, 11 Apr 2014 15:09:40 +0000 (17:09 +0200)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:45 +0000 (17:58 -0700)
commit94fb182cdf5f39befc822cd5a1110a1ca3b6631d
tree5f5b083753288cdcb54178c3076d21743e330790
parentb149c4c399b111cec1ff7505ca9fabbeeb4fe394
fdt_support: split fdt_getprop_u32_default

We already have a nice helper to give us a property cell value with default
fall back from a path. Split that into two helpers - one for the old path
based lookup and one to give us a value based on a node offset.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
common/fdt_support.c
include/fdt_support.h