99d9947c9624196beb27877a505ac95a66fe2fa5
[openwrt/staging/stintel.git] / target / linux / bmips / patches-6.1 / 202-mips-bmips-tweak-Kconfig-options.patch
1 From 20a4b57c0fafd23ae0f6bcab5b5adf4af4c80280 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Thu, 16 Mar 2023 19:31:21 +0100
4 Subject: [PATCH] mips: bmips: tweak Kconfig options
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 ---
11 arch/mips/Kconfig | 7 +------
12 1 file changed, 1 insertion(+), 6 deletions(-)
13
14 --- a/arch/mips/Kconfig
15 +++ b/arch/mips/Kconfig
16 @@ -275,19 +275,13 @@ config BMIPS_GENERIC
17 select SYNC_R4K
18 select COMMON_CLK
19 select BCM6345_L1_IRQ
20 - select BCM7038_L1_IRQ
21 - select BCM7120_L2_IRQ
22 - select BRCMSTB_L2_IRQ
23 select IRQ_MIPS_CPU
24 select DMA_NONCOHERENT
25 select SYS_SUPPORTS_32BIT_KERNEL
26 - select SYS_SUPPORTS_LITTLE_ENDIAN
27 select SYS_SUPPORTS_BIG_ENDIAN
28 - select SYS_SUPPORTS_HIGHMEM
29 select SYS_HAS_CPU_BMIPS32_3300
30 select SYS_HAS_CPU_BMIPS4350
31 select SYS_HAS_CPU_BMIPS4380
32 - select SYS_HAS_CPU_BMIPS5000
33 select SWAP_IO_SPACE
34 select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
35 select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
36 @@ -297,6 +291,7 @@ config BMIPS_GENERIC
37 select HAVE_PCI
38 select PCI_DRIVERS_GENERIC
39 select FW_CFE
40 + select MIPS_L1_CACHE_SHIFT_4
41 help
42 Build a generic DT-based kernel image that boots on select
43 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
44 --- a/drivers/irqchip/Kconfig
45 +++ b/drivers/irqchip/Kconfig
46 @@ -122,7 +122,6 @@ config BCM6345_L1_IRQ
47 config BCM7038_L1_IRQ
48 tristate "Broadcom STB 7038-style L1/L2 interrupt controller driver"
49 depends on ARCH_BRCMSTB || BMIPS_GENERIC
50 - default ARCH_BRCMSTB || BMIPS_GENERIC
51 select GENERIC_IRQ_CHIP
52 select IRQ_DOMAIN
53 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
54 @@ -130,14 +129,12 @@ config BCM7038_L1_IRQ
55 config BCM7120_L2_IRQ
56 tristate "Broadcom STB 7120-style L2 interrupt controller driver"
57 depends on ARCH_BRCMSTB || BMIPS_GENERIC
58 - default ARCH_BRCMSTB || BMIPS_GENERIC
59 select GENERIC_IRQ_CHIP
60 select IRQ_DOMAIN
61
62 config BRCMSTB_L2_IRQ
63 tristate "Broadcom STB generic L2 interrupt controller driver"
64 depends on ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC
65 - default ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC
66 select GENERIC_IRQ_CHIP
67 select IRQ_DOMAIN
68