diff options
author | Simon Glass <sjg@chromium.org> | 2013-03-19 04:58:51 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-03-19 08:45:36 -0700 |
commit | 4397a2a80baefadc7454c70282c14d2af16ffe30 (patch) | |
tree | c7c7382e91c3cc808ce9f381ed73b4f765469f1f /drivers/spi/spi.c | |
parent | 0ce033d2582129243aca10d3072a221386bbba44 (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>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions