Re: Usefulness of CONFIG_MACH_JZ47*

From: Paul Cercueil
Date: Tue Sep 20 2022 - 05:10:09 EST


Hi Nikolaus,

Le mar., sept. 20 2022 at 08:31:30 +0200, H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> a écrit :
Hi Paul,
it seems as if there aren't many places left over where the MACH_JZ47* configs are still in use:

drivers/char/hw_ramdom/Kconfig
drivers/clk/ingenic/Kconfig
drivers/gpu/drm/ingenic/Kconfig
drivers/pinctrl/pinctrl-ingenic.c

Is it possible to get rid of them and just have CONFIG_MACH_INGENIC_GENERIC?

This might simplify my defconfig for multiple machines.

CONFIG_MIPS_GENERIC_KERNEL=y
CONFIG_BOARD_INGENIC=y

Then you can support all Ingenic-based boards alongside other MIPS boards.

BR and thanks,
Nikolaus

Cheers,
-Paul