Skip to content
Snippets Groups Projects
Commit a4481012 authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Add dev_read_resource() to read device resources


Add a function which reads resources from a device, such as the device
hardware address. This uses the "reg" property in the device.

Unlike other functions there is little sense in inlining this when
livetree is not being used because it has some logic in it and this would
just bloat the code size.

Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
parent 8c293d6a
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment