Re: [PATCH 0/4] clk: mvebu: Fix some error handling paths + do some clean-up

From: Christophe JAILLET
Date: Fri Apr 23 2021 - 04:49:54 EST


Le 23/04/2021 à 09:27, Thomas Petazzoni a écrit :
Hello,

On Fri, 23 Apr 2021 08:24:52 +0200
Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

Also, I wonder if the drivers in drivers/clk/mvebu are used by anyone.
In order to compile-test the changes, I also had to change the 'bool' in Kconfig
by 'bool "blah"'. Without this change, it was not possible to set
CONFIG_MVEBU_CLK_CPU required by Makefile.

CONFIG_MVEBU_CLK_CPU is selected by ARMADA_370_CLK and ARMADA_XP_CLK,
which themselves are selected by MACH_ARMADA_370 and MACH_ARMADA_XP
respectively.

Hi, thanks for the clarification.

Usually, only slightly modifying dependencies in Kconfig is enough for me to trigger a built, even if I don't have the correct toolchain for this architecture. In this case, the tweak I had to do was "spurious" and Kconfig "looked strange" to me, hence my comment.

Glad to here that this code is still alive. So, my patches may make sense :).

CJ


So unless I'm missing something, this code is definitely reachable and
compiled. You can use the mvebu_v7_defconfig of ARM32, and the code
will be built.

Best regards,

Thomas