[PATCH] misc: Keep FSL_IFC available on PowerPC as well

Mateus Lima mateuslima.ti at gmail.com
Wed Jan 28 21:02:47 CET 2026


Hi Tom,

Indeed, there are a lot of PPC targets that try to use this symbol, but as
Peng Fan reported before, his CI reported a build failure.

On Wed, Jan 21, 2026 at 11:13 PM Peng Fan <peng.fan at oss.nxp.com> wrote:

> On Tue, Jan 13, 2026 at 11:23:01AM -0300, Mateus Lima Alves wrote:
> >This patch adds CPLD support via IFC to the ls1021a-iot board.
> >
> >Signed-off-by: Mateus Lima Alves <mateuslima.ti at gmail.com>
>
> CI report build failure.
>
>   CC      drivers/video/hitachi-tx10d07vm0baa.o
> In file included from drivers/misc/fsl_ifc.c:8:
> include/fsl_ifc.h:16:10: fatal error: asm/ppc.h: No such file or directory
>    16 | #include <asm/ppc.h>
>       |          ^~~~~~~~~~~
> compilation terminated.
> make[3]: *** [scripts/Makefile.build:271: drivers/misc/fsl_ifc.o] Error 1
> make[2]: *** [scripts/Makefile.build:492: drivers/misc] Error 2
> make[2]: *** Waiting for unfinished jobs....
>   CC      drivers/rtc/ht1380.o
>   CC      drivers/video/hitachi_tx18d42vm_lcd.o
>   CC      drivers/rtc/i2c_rtc_emul.o
>
> make[1]: *** [Makefile:2191: drivers] Error 2
> make: *** [Makefile:362: __build_one_by_one] Error 2
> Cleaning up project directory and file based variables
>
> Regards
> Peng


Is that okay now Peng Fan?

If so, then my v2 patch would have worked.

BR,
Mateus

On Wed, Jan 28, 2026 at 4:26 PM Tom Rini <trini at konsulko.com> wrote:

> This symbol is used on a number of PowerPC platforms as well, so make it
> available there again.
>
> Fixes: 424b324165ea ("armv7: Add CPLD support via IFC to the ls1021a-iot
> board.")
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Mateus Lima Alves <mateuslima.ti at gmail.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> ---
>  drivers/misc/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index be7fdab56d14..a0aa290480eb 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -695,7 +695,7 @@ config ESM_PMIC
>
>  config FSL_IFC
>         bool "Freescale Integrated Flash Controller"
> -       depends on ARM
> +       depends on ARM || PPC
>         help
>           This driver is for the Integrated Flash Controller(IFC) module
>           available in Freescale SoCs. This controller allows to handle
> --
> 2.43.0
>
>


More information about the U-Boot mailing list