summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/Kconfig
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2023-02-27 13:58:03 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-03-14 19:13:51 +0300
commit7a26b384c44cfa9ea65799dc375619c96608ecad (patch)
tree1b213994975d9b17a07d20ecaf7e338160d25ed8 /arch/mips/ralink/Kconfig
parent5a5aa151bdccea934d4a84086661538b60a09a42 (diff)
downloadlinux-7a26b384c44cfa9ea65799dc375619c96608ecad.tar.xz
mips: ralink: rt288x: introduce 'soc_device' initialization
RT288X SoCs have their own 'ralink_soc_info' structure with some information about the soc itself. In order to be able to retrieve this information from driver code and avoid architecture dependencies for retrieving these details introduce this 'soc_device'. Set 'data' pointer points to the struct 'ralink_soc_info' to be able to export also current soc information using this mechanism. We need to select 'SOC_BUS' in Kconfig configuration for these SoCs. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/ralink/Kconfig')
-rw-r--r--arch/mips/ralink/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index e2a43a59fc81..e8b8fb35d33d 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -29,6 +29,7 @@ choice
select MIPS_AUTO_PFN_OFFSET
select MIPS_L1_CACHE_SHIFT_4
select HAVE_PCI
+ select SOC_BUS
config SOC_RT305X
bool "RT305x"