[U-Boot] [PATCH 06/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1012A
Priyanka Jain
priyanka.jain at nxp.com
Fri Nov 15 12:43:31 UTC 2019
>-----Original Message-----
>From: Biwen Li <biwen.li at nxp.com>
>Sent: Thursday, November 14, 2019 4:06 PM
>To: Jagdish Gediya <jagdish.gediya at nxp.com>; Priyanka Jain
><priyanka.jain at nxp.com>; hs at denx.de; jagan at amarulasolutions.com;
>aford173 at gmail.com; Alison Wang <alison.wang at nxp.com>;
>bhaskar.upadhaya at nxp.com; feng.li_2 at nxp.com; jh80.chung at samsung.com;
>Pramod Kumar <pramod.kumar_1 at nxp.com>; Rajesh Bhagat
><rajesh.bhagat at nxp.com>; Ruchika Gupta <ruchika.gupta at nxp.com>;
>olteanv at gmail.com
>Cc: Xiaobo Xie <xiaobo.xie at nxp.com>; Jiafei Pan <jiafei.pan at nxp.com>; u-
>boot at lists.denx.de; Biwen Li <biwen.li at nxp.com>
>Subject: [PATCH 06/42] gpio: do not include <asm/arch/gpio.h> for
>ARCH_LS1012A
>
>As no gpio.h is defined for this architecture, to avoid compilation failure, do
>not include <asm/arch/gpio.h> for SoC LS1012A. Compilation error as follows:
> - In file included from drivers/gpio/gpio-uclass.c:15:0:
> ./arch/arm/include/asm/gpio.h:7:10: fatal error: asm/arch/gpio.h: No
>such file or directory
> #include <asm/arch/gpio.h>
> ^~~~~~~~~~~~~~~~~
> compilation terminated.
> scripts/Makefile.build:278: recipe for target drivers/gpio/gpio-
>uclass.o failed
> make[1]: *** [drivers/gpio/gpio-uclass.o] Error 1
> Makefile:1629: recipe for target drivers/gpio failed
> make: *** [drivers/gpio] Error 2
> make: *** Waiting for unfinished jobs....
> LD board/freescale/common/built-in.o
> In file included from drivers/i2c/i2c-uclass.c:15:0:
> ./arch/arm/include/asm/gpio.h:7:10: fatal error: asm/arch/gpio.h:
>No such file or directory
> #include <asm/arch/gpio.h>
> ^~~~~~~~~~~~~~~~~
> compilation terminated.
>
If this compilation error is introduced by one of your patch, merge with that.
>Signed-off-by: Biwen Li <biwen.li at nxp.com>
>---
<snip>
-priyankajain
More information about the U-Boot
mailing list