All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biwen Li <biwen.li@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 16/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1043A
Date: Thu, 14 Nov 2019 18:36:15 +0800	[thread overview]
Message-ID: <20191114103641.34085-16-biwen.li@nxp.com> (raw)
In-Reply-To: <20191114103641.34085-1-biwen.li@nxp.com>

As no gpio.h is defined for this architecture, to
avoid compilation failure, do not include <asm/arch/gpio.h> for
SoC LS1043A. Compilation error as follows:
	- In file included from drivers/gpio/gpio-uclass.c:15:0:
	  ./arch/arm/include/asm/gpio.h:8:10: fatal error: asm/arch/gpio.h: No such file or directory
	  #include <asm/arch/gpio.h>
		  ^~~~~~~~~~~~~~~~~
	  In file included from drivers/i2c/i2c-uclass.c:15:0:
	  ./arch/arm/include/asm/gpio.h:8:10: fatal error: asm/arch/gpio.h: No such file or directory
	  #include <asm/arch/gpio.h>
		  ^~~~~~~~~~~~~~~~~
	  compilation terminated.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
---
 arch/arm/include/asm/gpio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 9f8c9da564..45cb04801c 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -3,7 +3,7 @@
 	!defined(CONFIG_ARCH_BCM63158) && !defined(CONFIG_ARCH_ROCKCHIP) && \
 	!defined(CONFIG_ARCH_LX2160A) && !defined(CONFIG_ARCH_LS1028A) && \
 	!defined(CONFIG_ARCH_LS2080A) && !defined(CONFIG_ARCH_LS1088A) && \
-	!defined(CONFIG_ARCH_LS1012A) && \
+	!defined(CONFIG_ARCH_LS1012A) && !defined(CONFIG_ARCH_LS1043A) && \
 	!defined(CONFIG_ARCH_ASPEED)
 #include <asm/arch/gpio.h>
 #endif
-- 
2.17.1

  parent reply	other threads:[~2019-11-14 10:36 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-14 10:36 [U-Boot] [PATCH 01/42] configs: ls1012a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 02/42] include/configs: arm: ls1012a: fix compilation error Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 03/42] board: freescale: ls1012ardb: ls1012ardb.c: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 04/42] board: freescale: ls1012ardb: eth.c: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 05/42] configs: ls1012a: enable CONFIG_DM_GPIO to fix compilation error Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 06/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1012A Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 07/42] configs: ls1012a: enable CONFIG_DM_RTC Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 08/42] board: freescale: ls1012aqds: support dm_i2c_* API Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 09/42] include/configs: ls1012a_common: define default i2c bus Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 10/42] configs: arm: ls1043a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 11/42] include/configs: arm: ls1043a: fix a compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 12/42] configs: arm: ls1043a: enable CONFIG_DM_GPIO Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 13/42] board: freescale: ls1043aqds: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 14/42] board: freescale: ls1043aqds: fix build error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 15/42] include/configs: ls1043a_common: define default i2c bus Biwen Li
2019-11-14 10:36 ` Biwen Li [this message]
2019-11-14 10:36 ` [U-Boot] [PATCH 17/42] configs: ls1046a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 18/42] include/configs: arm: ls1046a: fix compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 19/42] configs: arm: ls1046a: enable CONFIG_DM_GPIO Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 20/42] board: freescale: ls1046aqds: fix build error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 21/42] include/configs: ls1046a_common: do not define CONFIG_DM_I2C for spl Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 22/42] armv8: dts: ls1046ardb: enable i2c0 and i2c3 DT node Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 23/42] include/configs: ls1046a_common.h: define default i2c bus Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 24/42] armv8: dts: ls1046aqds: enable i2c0 DT node Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 25/42] armv8: dts: ls1046afrwy: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 26/42] board: freescale: ls1046aqds: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 27/42] board: freescale: ls1046afrwy: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 28/42] pmic: i2c: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 29/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1046A Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 30/42] configs: arm: ls1021a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 31/42] include/configs: arm: ls1021a: fix compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 32/42] board: freescale: ls1021atwr: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 33/42] configs: arm: ls1021a: fix compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 34/42] ls1021aqds: dcu: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 35/42] board: freescale: ls1021aqds: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 36/42] include/configs: ls1021atwr: i2c: do not define DM_I2C for spl Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 37/42] video: dcu: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 38/42] board: freescale: common: diu_ch7301: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 39/42] rtc: pcf8563: support driver model Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 40/42] armv8: fsl-layerscape: spl: fix build error when enabled CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 41/42] i2c: mxc_i2c: add DM_FLAG_PRE_RELOC flag Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 42/42] Kconfigs: layerscape: use a convenient default value for SYS_MALLOC_F_LEN Biwen Li
2019-11-15  5:06 ` [U-Boot] [PATCH 01/42] configs: ls1012a: enable CONFIG_DM_I2C Priyanka Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191114103641.34085-16-biwen.li@nxp.com \
    --to=biwen.li@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.