From 6d3b82df832908675fe4cf4c829779f3abc34999 Mon Sep 17 00:00:00 2001 From: Dave Gerlach Date: Wed, 15 Jul 2020 23:39:57 -0500 Subject: 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 Signed-off-by: Dave Gerlach --- drivers/soc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/soc/Makefile') 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 -- cgit v1.2.3