mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00
soc: qcom: add build infrastructure
Add Kconfig / Makefiles to build rpmh and cmd-db drivers. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
parent
c6112dd247
commit
1384436dd8
4 changed files with 33 additions and 0 deletions
|
@ -48,6 +48,7 @@ config SOC_XILINX_VERSAL_NET
|
|||
This allows other drivers to verify the SoC familiy & revision using
|
||||
matching SoC attributes.
|
||||
|
||||
source "drivers/soc/qcom/Kconfig"
|
||||
source "drivers/soc/samsung/Kconfig"
|
||||
source "drivers/soc/ti/Kconfig"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Makefile for the U-Boot SOC specific device drivers.
|
||||
|
||||
obj-$(CONFIG_SOC_AMD_VERSAL2) += soc_amd_versal2.o
|
||||
obj-$(CONFIG_SOC_QCOM) += qcom/
|
||||
obj-$(CONFIG_SOC_SAMSUNG) += samsung/
|
||||
obj-$(CONFIG_SOC_TI) += ti/
|
||||
obj-$(CONFIG_SOC_DEVICE) += soc-uclass.o
|
||||
|
|
27
drivers/soc/qcom/Kconfig
Normal file
27
drivers/soc/qcom/Kconfig
Normal file
|
@ -0,0 +1,27 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# QCOM Soc drivers
|
||||
#
|
||||
menuconfig SOC_QCOM
|
||||
bool "Qualcomm SOC drivers support"
|
||||
help
|
||||
Say Y here if you want to enable Qualcomm SOC drivers support.
|
||||
|
||||
if SOC_QCOM
|
||||
|
||||
config QCOM_COMMAND_DB
|
||||
bool "Qualcomm Command DB"
|
||||
help
|
||||
Command DB queries shared memory by key string for shared system
|
||||
resources. Platform drivers that require to set state of a shared
|
||||
resource on a RPM-hardened platform must use this database to get
|
||||
SoC specific identifier and information for the shared resources.
|
||||
|
||||
config QCOM_RPMH
|
||||
bool "Qualcomm RPMh support"
|
||||
depends on QCOM_COMMAND_DB
|
||||
help
|
||||
Say y here to support the Qualcomm RPMh (resource peripheral manager)
|
||||
if you need to control regulators on Qualcomm platforms, say y here.
|
||||
|
||||
endif # SOC_QCOM
|
4
drivers/soc/qcom/Makefile
Normal file
4
drivers/soc/qcom/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o
|
||||
obj-$(CONFIG_QCOM_RPMH) += rpmh-rsc.o rpmh.o
|
Loading…
Add table
Reference in a new issue