author | Simon Glass <sjg@chromium.org> | |
Tue, 19 Mar 2013 04:58:51 +0000 (04:58 +0000) | ||
committer | Simon Glass <sjg@chromium.org> | |
Tue, 19 Mar 2013 15:45:36 +0000 (08:45 -0700) | ||
commit | 4397a2a80baefadc7454c70282c14d2af16ffe30 | |
tree | c7c7382e91c3cc808ce9f381ed73b4f765469f1f | tree | snapshot (tar.xz tar.gz zip) |
parent | 0ce033d2582129243aca10d3072a221386bbba44 | commit | diff |
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>
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 | diff | blob | history | |
lib/fdtdec.c | diff | blob | history |