* [U-Boot] avr32 compilation fixed
@ 2010-05-26 11:52 Xulio Coira
2010-05-26 11:52 ` [U-Boot] [PATCH] avr32: use generic unaligned.h Xulio Coira
0 siblings, 1 reply; 3+ messages in thread
From: Xulio Coira @ 2010-05-26 11:52 UTC (permalink / raw)
To: u-boot
Compilation was broken in atstk100x boards (at least) due to
missing file unaligned.h
I hope following patch helps.
Regards,
Xulio Coira.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] avr32: use generic unaligned.h
2010-05-26 11:52 [U-Boot] avr32 compilation fixed Xulio Coira
@ 2010-05-26 11:52 ` Xulio Coira
2010-05-26 18:09 ` Mike Frysinger
0 siblings, 1 reply; 3+ messages in thread
From: Xulio Coira @ 2010-05-26 11:52 UTC (permalink / raw)
To: u-boot
Signed-off-by: Xulio Coira <xulioc@gmail.com>
---
arch/avr32/include/asm/unaligned.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 arch/avr32/include/asm/unaligned.h
diff --git a/arch/avr32/include/asm/unaligned.h b/arch/avr32/include/asm/unaligned.h
new file mode 100644
index 0000000..34b9ccc
--- /dev/null
+++ b/arch/avr32/include/asm/unaligned.h
@@ -0,0 +1,6 @@
+#ifndef _ASM_AVR32_UNALIGNED_H
+#define _ASM_AVR32_UNALIGNED_H
+
+#include <asm-generic/unaligned.h>
+
+#endif
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] avr32: use generic unaligned.h
2010-05-26 11:52 ` [U-Boot] [PATCH] avr32: use generic unaligned.h Xulio Coira
@ 2010-05-26 18:09 ` Mike Frysinger
0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2010-05-26 18:09 UTC (permalink / raw)
To: u-boot
On Wednesday 26 May 2010 07:52:37 Xulio Coira wrote:
> Signed-off-by: Xulio Coira <xulioc@gmail.com>
> ---
> arch/avr32/include/asm/unaligned.h | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
> create mode 100644 arch/avr32/include/asm/unaligned.h
>
> diff --git a/arch/avr32/include/asm/unaligned.h
> b/arch/avr32/include/asm/unaligned.h new file mode 100644
> index 0000000..34b9ccc
> --- /dev/null
> +++ b/arch/avr32/include/asm/unaligned.h
> @@ -0,0 +1,6 @@
> +#ifndef _ASM_AVR32_UNALIGNED_H
> +#define _ASM_AVR32_UNALIGNED_H
> +
> +#include <asm-generic/unaligned.h>
> +
> +#endif
typically #ifdef protection isnt needed when the header is merely a stub that
forwards to the asm-generic one. not that it hurts the vast majority of the
time.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100526/926bfa9b/attachment.pgp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-26 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26 11:52 [U-Boot] avr32 compilation fixed Xulio Coira
2010-05-26 11:52 ` [U-Boot] [PATCH] avr32: use generic unaligned.h Xulio Coira
2010-05-26 18:09 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox