]> git.sur5r.net Git - u-boot/commit
fdt: Add fdtdec_get_addr_size() to read reg properties
authorSimon Glass <sjg@chromium.org>
Tue, 19 Mar 2013 04:58:51 +0000 (04:58 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 19 Mar 2013 15:45:36 +0000 (08:45 -0700)
commit4397a2a80baefadc7454c70282c14d2af16ffe30
treec7c7382e91c3cc808ce9f381ed73b4f765469f1f
parent0ce033d2582129243aca10d3072a221386bbba44
fdt: Add fdtdec_get_addr_size() to read reg properties

It is common to have a "reg = <address size>" property in the FDT.
Add a function to handle this, similar to the existing
fdtdec_get_addr();

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