mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [patch][x86] Avoid build error on "config SPI" is y
@ 2013-06-01  1:56 Masaki Muranaka
  0 siblings, 0 replies; 3+ messages in thread
From: Masaki Muranaka @ 2013-06-01  1:56 UTC (permalink / raw)
  To: barebox

Hello,

In case he configures with make ARCH=x85 menuconfig,
config SPI will be set to "y". And he will got an error on spi.h.

After applied this patch, the error will be fixed.

diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index b0218d2..d473405 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -29,12 +29,16 @@ typedef unsigned int __u32;
 typedef __signed__ long long __s64;
 typedef unsigned long long __u64;

+typedef signed char s8;
 typedef unsigned char u8;

+typedef signed short s16;
 typedef unsigned short u16;

+typedef signed int s32;
 typedef unsigned int u32;

+typedef signed long long s64;
 typedef unsigned long long u64;

 #endif /* __ASSEMBLY__ */


--
--
Masaki Muranaka
Monami-ya LLC, Japan.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] [x86] Avoid build error on "config SPI" is y
  2013-06-01 14:05 [PATCH] [x86] " monaka
@ 2013-06-02  9:19 ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2013-06-02  9:19 UTC (permalink / raw)
  To: monaka; +Cc: barebox

On Sat, Jun 01, 2013 at 11:05:22PM +0900, monaka@monami-ya.jp wrote:
> From: Masaki Muranaka <monaka@monami-ya.com>
> 
> In case he configures with make ARCH=x85 menuconfig,
> config SPI will be set to "y". And he will got an error on spi.h.
> 
> Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>

Applied, thanks

Sascha

> ---
>  arch/x86/include/asm/types.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
> index b0218d2..d473405 100644
> --- a/arch/x86/include/asm/types.h
> +++ b/arch/x86/include/asm/types.h
> @@ -29,12 +29,16 @@ typedef unsigned int __u32;
>  typedef __signed__ long long __s64;
>  typedef unsigned long long __u64;
>  
> +typedef signed char s8;
>  typedef unsigned char u8;
>  
> +typedef signed short s16;
>  typedef unsigned short u16;
>  
> +typedef signed int s32;
>  typedef unsigned int u32;
>  
> +typedef signed long long s64;
>  typedef unsigned long long u64;
>  
>  #endif /* __ASSEMBLY__ */
> -- 
> 1.8.3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* [PATCH] [x86] Avoid build error on "config SPI" is y
@ 2013-06-01 14:05 monaka
  2013-06-02  9:19 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: monaka @ 2013-06-01 14:05 UTC (permalink / raw)
  To: barebox

From: Masaki Muranaka <monaka@monami-ya.com>

In case he configures with make ARCH=x85 menuconfig,
config SPI will be set to "y". And he will got an error on spi.h.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
---
 arch/x86/include/asm/types.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index b0218d2..d473405 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -29,12 +29,16 @@ typedef unsigned int __u32;
 typedef __signed__ long long __s64;
 typedef unsigned long long __u64;
 
+typedef signed char s8;
 typedef unsigned char u8;
 
+typedef signed short s16;
 typedef unsigned short u16;
 
+typedef signed int s32;
 typedef unsigned int u32;
 
+typedef signed long long s64;
 typedef unsigned long long u64;
 
 #endif /* __ASSEMBLY__ */
-- 
1.8.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-06-02  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-01  1:56 [patch][x86] Avoid build error on "config SPI" is y Masaki Muranaka
2013-06-01 14:05 [PATCH] [x86] " monaka
2013-06-02  9:19 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox