All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Nios2 altera: add reference to in_be32, out_be32
@ 2017-01-20  1:58 Kostya Belezko
  2017-01-21  6:00 ` Thomas Chou
  0 siblings, 1 reply; 2+ messages in thread
From: Kostya Belezko @ 2017-01-20  1:58 UTC (permalink / raw)
  To: u-boot

Fixing compilation problem
u-boot-socfpga/drivers/serial/ns16550.c:144: undefined reference to `out_be32'

---
 arch/nios2/include/asm/io.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index 69ab23e..65a1e04 100644
--- a/arch/nios2/include/asm/io.h
+++ b/arch/nios2/include/asm/io.h
@@ -74,9 +74,11 @@ extern unsigned inl (unsigned port);
 #define inb(addr)	readb(addr)
 #define inw(addr)	readw(addr)
 #define inl(addr)	readl(addr)
+#define in_be32(addr)	readl(addr)
 #define outb(val, addr)	writeb(val,addr)
 #define outw(val, addr)	writew(val,addr)
 #define outl(val, addr)	writel(val,addr)
+#define out_be32(addr,val)	writel(val,addr)
 
 static inline void insb (unsigned long port, void *dst, unsigned long count)
 {
-- 
2.7.4

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

* [U-Boot] [PATCH] Nios2 altera: add reference to in_be32, out_be32
  2017-01-20  1:58 [U-Boot] [PATCH] Nios2 altera: add reference to in_be32, out_be32 Kostya Belezko
@ 2017-01-21  6:00 ` Thomas Chou
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Chou @ 2017-01-21  6:00 UTC (permalink / raw)
  To: u-boot

Hi Kostya,

On 01/20/2017 09:58 AM, Kostya Belezko wrote:
> Fixing compilation problem
> u-boot-socfpga/drivers/serial/ns16550.c:144: undefined reference to `out_be32'
>

The u-boot-socfpga branch you referred is old. Please follow the latest 
stable release tag v2017.01 .

URL	git://git.denx.de/u-boot.git
	http://git.denx.de/u-boot.git

Best regards,
Thomas Chou

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

end of thread, other threads:[~2017-01-21  6:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20  1:58 [U-Boot] [PATCH] Nios2 altera: add reference to in_be32, out_be32 Kostya Belezko
2017-01-21  6:00 ` Thomas Chou

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.