summaryrefslogtreecommitdiff
path: root/drivers/core/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-12 06:21:29 -0600
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:20 -0600
commita44810123f9ef069587beacdce7d6f488cf42973 (patch)
tree1eb3689993eba842e0663321193653d75dfa01d3 /drivers/core/Makefile
parent8c293d6ac9c9f698a2b5db8def9d1cef725b5011 (diff)
downloadu-boot-a44810123f9ef069587beacdce7d6f488cf42973.tar.gz
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 <sjg@chromium.org> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
Diffstat (limited to 'drivers/core/Makefile')
-rw-r--r--drivers/core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index 435cf98ae1..fd2d4de0c8 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -15,4 +15,4 @@ obj-$(CONFIG_OF_LIVE) += of_access.o of_addr.o
ifndef CONFIG_DM_DEV_READ_INLINE
obj-$(CONFIG_OF_CONTROL) += read.o
endif
-obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o
+obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o read_extra.o