fdt: Add fdt_getprop_u32_default helpers
authorKumar Gala <galak@kernel.crashing.org>
Thu, 23 Oct 2008 05:05:47 +0000 (00:05 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 24 Oct 2008 22:34:52 +0000 (17:34 -0500)
commit3bed2aaf2d50fd13273c14d17d4fd40ef42e0d0f
tree96ab5e57491f5aaacf45291f067aeb08f75937e6
parent8ba93f68a1bae89e033527ce67b41b4a87aa5b7f
fdt: Add fdt_getprop_u32_default helpers

Add helper functions to return find a node and return it's property
or a default value.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Fleming-AFLEMING <afleming@freescale.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
common/fdt_support.c
include/fdt_support.h