summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-11-30 06:24:47 (GMT)
committerSimon Glass <sjg@chromium.org>2016-12-03 04:03:31 (GMT)
commit13f3fcac533ae7d86083ed9eefb36f78ee851f10 (patch)
treeb7657a12e95bbaaa9f704adfc3d861c4af538d5d /disk
parent63c0941726e44f31c42de744a57f528fee2df88f (diff)
downloadu-boot-fsl-qoriq-13f3fcac533ae7d86083ed9eefb36f78ee851f10.tar.xz
dm: core: Add dev_get_addr_size_index() to retrieve addr and size
The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patch adds the new function dev_get_addr_size_index() which retrieves both, the address and the size described by the 'reg' property. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions