a44810123f
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
19 lines
569 B
Makefile
19 lines
569 B
Makefile
#
|
|
# Copyright (c) 2013 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o
|
|
obj-$(CONFIG_DEVRES) += devres.o
|
|
obj-$(CONFIG_$(SPL_)DM_DEVICE_REMOVE) += device-remove.o
|
|
obj-$(CONFIG_$(SPL_)SIMPLE_BUS) += simple-bus.o
|
|
obj-$(CONFIG_DM) += dump.o
|
|
obj-$(CONFIG_$(SPL_)REGMAP) += regmap.o
|
|
obj-$(CONFIG_$(SPL_)SYSCON) += syscon-uclass.o
|
|
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 read_extra.o
|