summaryrefslogtreecommitdiff
path: root/drivers/soc/Makefile
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2020-07-15 23:39:57 -0500
committerSimon Glass <sjg@chromium.org>2020-07-25 14:46:57 -0600
commit6d3b82df832908675fe4cf4c829779f3abc34999 (patch)
tree2c8be8def4d315905b9a1ac3b11881f081a85ed4 /drivers/soc/Makefile
parent726eb121b8ba8a4bc6c58072e551ec93c09165ec (diff)
dm: soc: Introduce UCLASS_SOC for SOC ID and attribute matching
Introduce UCLASS_SOC to be used for SOC identification and attribute matching based on the SoC ID info. This allows drivers to be provided for SoCs to retrieve SoC identifying information and also for matching device attributes for selecting SoC specific data. This is useful for other device drivers that may need different parameters or quirks enabled depending on the specific device variant in use. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'drivers/soc/Makefile')
-rw-r--r--drivers/soc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
index ce253b7aa8..1c09a84656 100644
--- a/drivers/soc/Makefile
+++ b/drivers/soc/Makefile
@@ -3,3 +3,4 @@
# Makefile for the U-Boot SOC specific device drivers.
obj-$(CONFIG_SOC_TI) += ti/
+obj-$(CONFIG_SOC_DEVICE) += soc-uclass.o