2020-12-22 20:37:20

by Bert Vermeulen

[permalink] [raw]
Subject: [PATCH] arch: mips: Remove unused BOARD_INGENIC Kconfig option

Board support depends on MACH_INGENIC, not BOARD_INGENIC.

Signed-off-by: Bert Vermeulen <[email protected]>
---
arch/mips/generic/Kconfig | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig
index 55d9aed7ced9..5216c850b7e2 100644
--- a/arch/mips/generic/Kconfig
+++ b/arch/mips/generic/Kconfig
@@ -73,12 +73,6 @@ config FIT_IMAGE_FDT_OCELOT
from Microsemi in the FIT kernel image.
This requires u-boot on the platform.

-config BOARD_INGENIC
- bool "Support boards based on Ingenic SoCs"
- select MACH_INGENIC_GENERIC
- help
- Enable support for boards based on Ingenic SoCs.
-
config VIRT_BOARD_RANCHU
bool "Support Ranchu platform for Android emulator"
help
--
2.25.1


2020-12-29 01:32:11

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] arch: mips: Remove unused BOARD_INGENIC Kconfig option

On Tue, Dec 22, 2020 at 09:32:39PM +0100, Bert Vermeulen wrote:
> Board support depends on MACH_INGENIC, not BOARD_INGENIC.

you are missing the point here. BOARD_INGENIC is for enabling
Ingenic boards in a generic kernel, while MACH_INGENIC is for
building a Ingenic only kernel (usually for size/performance reasons).

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]