[PATCH] pinctrl: renesas: Fix RZN1 symbol name

Marek Vasut marek.vasut at mailbox.org
Fri Feb 28 12:08:29 CET 2025


On 2/28/25 11:26 AM, Paul Barker wrote:
> On 27/02/2025 23:43, Marek Vasut wrote:
>> The RZN1 symbol name is CONFIG_RZN1, there is no CONFIG_ARCH_RZN1.
>> Fix the symbol name so the pinctrl driver for RZN1 gets build.
>>
>> Fixes: e4aea57fa773 ("pinctrl: renesas: add R906G032 driver")
>> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
>> ---
>> Cc: Paul Barker <paul.barker.ct at bp.renesas.com>
>> Cc: Ralph Siemsen <ralph.siemsen at linaro.org>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Tom Rini <trini at konsulko.com>
>> Cc: u-boot at lists.denx.de
>> ---
>>   drivers/pinctrl/Makefile | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
>> index 634047a91f4..0d5798b0634 100644
>> --- a/drivers/pinctrl/Makefile
>> +++ b/drivers/pinctrl/Makefile
>> @@ -15,7 +15,7 @@ obj-$(CONFIG_ARCH_MTMIPS) += mtmips/
>>   obj-$(CONFIG_ARCH_NPCM)         += nuvoton/
>>   obj-$(CONFIG_PINCTRL_QCOM) += qcom/
>>   obj-$(CONFIG_ARCH_RENESAS) += renesas/
>> -obj-$(CONFIG_ARCH_RZN1) += renesas/
>> +obj-$(CONFIG_RZN1) += renesas/
> 
> I'm a bit confused by this one.
> 
> In arch/arm/mach-renesas/Kconfig, config RZN1 is behind an 'if
> ARCH_RENESAS' condition. So if CONFIG_RZN1 is set, shouldn't
> CONFIG_ARCH_RENESAS also be set?
Oh, good point, it is set. I was under the impression RZN does not set 
ARCH_RENESAS, but it seems it does. Let me prepare a V2.


More information about the U-Boot mailing list