[PATCH v2] armv7: Add CPLD support via IFC to the ls1021a-iot board.

Mateus Lima mateuslima.ti at gmail.com
Thu Jan 22 14:12:36 CET 2026


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
>
Hi Peng,

Thank you for the test, and apologies for not having validated the patch on
other targets.
In fact, this driver was not being used by any target (neither ARM nor PPC)
and after this patch it became enabled again. However, PPC targets fail
when trying to include the asm/ppc.h header, which is not available for
some reason.

For now, I am thinking of submitting a v3 of the patch adding an explicit
dependency on ARM, something like:

+ depends on ARM

This way we would avoid building the driver for PPC targets.
What do you think about this approach?

Thanks again for the report and the feedback.

BR,
Mateus


More information about the U-Boot mailing list