aboutsummaryrefslogtreecommitdiff
path: root/drivers/soc/Makefile
diff options
context:
space:
mode:
authorDave Gerlach2020-07-15 23:39:57 -0500
committerSimon Glass2020-07-20 11:37:47 -0600
commit6426a26f4c314ad59d833456932312ce574e9b71 (patch)
tree7a0249024b2f6e4aac57683a2a6477a2e8d68a74 /drivers/soc/Makefile
parent41c1a693e5c2b6c74f9ef5824dbb1c3115b618c9 (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 ce253b7aa88..1c09a846567 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