[PATCH] pinctrl: renesas: Fix RZN1 symbol name

Paul Barker paul.barker.ct at bp.renesas.com
Fri Feb 28 11:26:13 CET 2025


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?

Both symbols pull in the renesas directory.

Thanks,

-- 
Paul Barker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x27F4B3459F002257.asc
Type: application/pgp-keys
Size: 3520 bytes
Desc: OpenPGP public key
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250228/538a1e37/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250228/538a1e37/attachment.sig>


More information about the U-Boot mailing list