All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] gpio: do not include <asm/arch/gpio.h> on ARCH_QEMU
@ 2020-10-30  8:45 Harm Berntsen
  2021-01-19 13:03 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Harm Berntsen @ 2020-10-30  8:45 UTC (permalink / raw)
  To: u-boot

As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include <asm/arch/gpio.h> for
QEMU.

Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>
---

?arch/arm/include/asm/gpio.h | 3 ++-
?1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 6ecb876eda..7609367884 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -3,7 +3,8 @@
????????!defined(CONFIG_ARCH_BCM6858) && !defined(CONFIG_ARCH_BCM63158) && \
????????!defined(CONFIG_ARCH_ROCKCHIP) && !defined(CONFIG_ARCH_ASPEED) && \
????????!defined(CONFIG_ARCH_U8500) && !defined(CONFIG_CORTINA_PLATFORM) && \
-???????!defined(CONFIG_TARGET_BCMNS3) && !defined(CONFIG_TARGET_TOTAL_COMPUTE)
+???????!defined(CONFIG_TARGET_BCMNS3) && !defined(CONFIG_TARGET_TOTAL_COMPUTE) && \
+???????!defined(CONFIG_ARCH_QEMU)
?#include <asm/arch/gpio.h>
?#endif
?#include <asm-generic/gpio.h>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/3] gpio: do not include <asm/arch/gpio.h> on ARCH_QEMU
  2020-10-30  8:45 [PATCH 1/3] gpio: do not include <asm/arch/gpio.h> on ARCH_QEMU Harm Berntsen
@ 2021-01-19 13:03 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-01-19 13:03 UTC (permalink / raw)
  To: u-boot

On Fri, Oct 30, 2020 at 08:45:15AM +0000, Harm Berntsen wrote:

> As no gpio.h is defined for this architecture, to avoid
> compilation failure, do not include <asm/arch/gpio.h> for
> QEMU.
> 
> Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210119/192fa17c/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-19 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30  8:45 [PATCH 1/3] gpio: do not include <asm/arch/gpio.h> on ARCH_QEMU Harm Berntsen
2021-01-19 13:03 ` Tom Rini

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.