[Buildroot] [PATCH 7/9] package/rcw: Enable IIC5_PMUX and CLK_OUT_PMUX for GPIO

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Nov 20 09:14:51 UTC 2019


On Wed, 20 Nov 2019 12:07:23 +0800
Changming Huang <jerry.huang at nxp.com> wrote:

> Because GPIO is used as interrupt for eNETC PHY and Micro-bus,
> IIC5_PMUX and CLK_OUT_PMUX are enabled for GPIO.
> 
> Signed-off-by: Changming Huang <jerry.huang at nxp.com>
> ---
>  ...5_PMUX-for-GPIO-function.patch.conditional | 42 +++++++++++++++++++
>  ...T_PMUX-for-GPIO-function.patch.conditional | 40 ++++++++++++++++++
>  package/rcw/rcw.mk                            |  7 ++++
>  3 files changed, 89 insertions(+)
>  create mode 100644 package/rcw/0001-ls1028ardb-Enable-IIC5_PMUX-for-GPIO-function.patch.conditional
>  create mode 100644 package/rcw/0002-ls1028ardb-Enable-CLK_OUT_PMUX-for-GPIO-function.patch.conditional

Sorry, but we really want to avoid conditional patches. Is there a
better solution than this ?

The patches modify only files in ls1028ardb/, and you apply them when
the board name is ls1028ardb, so basically, you could just as well
apply the patches unconditionally, no ?

> +ifeq ($(findstring ls1028ardb, $(BR2_TARGET_UBOOT_BOARDNAME)), ls1028ardb)

We really don't want to look at BR2_TARGET_UBOOT_BOARDNAME from package/rcw/.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list