From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 02:46:07 +0000
Subject: [PATCH] add audio

---
 kernel/arch/mips/ralink/Kconfig |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/kernel/arch/mips/ralink/Kconfig b/kernel/arch/mips/ralink/Kconfig
index 613d617..c10d8b2 100644
--- a/kernel/arch/mips/ralink/Kconfig
+++ b/kernel/arch/mips/ralink/Kconfig
@@ -27,19 +27,23 @@
 	config SOC_RT288X
 		bool "RT288x"
 		select MIPS_L1_CACHE_SHIFT_4
-		select HW_HAS_PCI
+		select HAVE_LEGACY_CLK
+		select HAVE_PCI
 
 	config SOC_RT305X
 		bool "RT305x"
+		select HAVE_LEGACY_CLK
 
 	config SOC_RT3883
 		bool "RT3883"
-		select HW_HAS_PCI
+		select HAVE_LEGACY_CLK
+		select HAVE_PCI
 
 	config SOC_MT7620
 		bool "MT7620/8"
 		select CPU_MIPSR2_IRQ_VI
-		select HW_HAS_PCI
+		select HAVE_LEGACY_CLK
+		select HAVE_PCI
 
 	config SOC_MT7621
 		bool "MT7621"
@@ -51,7 +55,8 @@
 		select MIPS_GIC
 		select COMMON_CLK
 		select CLKSRC_MIPS_GIC
-		select HW_HAS_PCI
+		select HAVE_PCI if PCI_MT7621
+		select SOC_BUS
 endchoice
 
 choice

--
Gitblit v1.6.2