mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 05:26:42 +07:00
4517f4817d
Compile-testing the driver can result in a link failure
when CONFIG_SOC_BUS is disabled:
x86_64-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_init':
soc-imx8m.c:(.init.text+0x28d): undefined reference to `soc_device_register'
Select it from Kconfig, as we do from the other SoC drivers.
Link: https://lore.kernel.org/r/20200409075208.2824062-1-arnd@arndb.de
Fixes: fc40200ebf
("soc: imx: increase build coverage for imx8m soc driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
31 lines
812 B
Plaintext
31 lines
812 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "i.MX SoC drivers"
|
|
|
|
config IMX_GPCV2_PM_DOMAINS
|
|
bool "i.MX GPCv2 PM domains"
|
|
depends on ARCH_MXC || (COMPILE_TEST && OF)
|
|
depends on PM
|
|
select PM_GENERIC_DOMAINS
|
|
default y if SOC_IMX7D
|
|
|
|
config IMX_SCU_SOC
|
|
bool "i.MX System Controller Unit SoC info support"
|
|
depends on IMX_SCU
|
|
select SOC_BUS
|
|
help
|
|
If you say yes here you get support for the NXP i.MX System
|
|
Controller Unit SoC info module, it will provide the SoC info
|
|
like SoC family, ID and revision etc.
|
|
|
|
config SOC_IMX8M
|
|
bool "i.MX8M SoC family support"
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
default ARCH_MXC && ARM64
|
|
select SOC_BUS
|
|
help
|
|
If you say yes here you get support for the NXP i.MX8M family
|
|
support, it will provide the SoC info like SoC family,
|
|
ID and revision etc.
|
|
|
|
endmenu
|