Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-02-17 Thread Macpaul Lin
Hi Simon, 2013/1/6 Simon Glass s...@chromium.org This is available on other architectures, and nds32 will start to break without it as code starts to use error numbers more. Signed-off-by: Simon Glass s...@chromium.org --- arch/nds32/include/asm/errno.h |1 + 1 files changed, 1

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/06/2013 12:24 PM, Simon Glass wrote: Hi Tom, On Sun, Jan 6, 2013 at 9:16 AM, Tom Rini tr...@ti.com wrote: On Sun, Jan 06, 2013 at 08:28:39AM -0800, Simon Glass wrote: [snip] If you don't support a gcc option it should be possible to

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-06 Thread Macpaul Lin
Hi Simon, 2013/1/6 Simon Glass s...@chromium.org This is available on other architectures, and nds32 will start to break without it as code starts to use error numbers more. +++ b/arch/nds32/include/asm/errno.h @@ -0,0 +1 @@ +#include asm-generic/errno.h Thanks for your patch. I've also

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-06 Thread Simon Glass
Hi, On Sun, Jan 6, 2013 at 3:37 AM, Macpaul Lin macp...@gmail.com wrote: Hi Simon, 2013/1/6 Simon Glass s...@chromium.org This is available on other architectures, and nds32 will start to break without it as code starts to use error numbers more. +++ b/arch/nds32/include/asm/errno.h @@

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-06 Thread Tom Rini
On Sun, Jan 06, 2013 at 08:28:39AM -0800, Simon Glass wrote: [snip] If you don't support a gcc option it should be possible to disable it in U-Boot for your toolchain as a temporary workaround. It would be good to get a pointer to your toolchain at some point. Unfortunately gcc doesn't error

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-06 Thread Simon Glass
Hi Tom, On Sun, Jan 6, 2013 at 9:16 AM, Tom Rini tr...@ti.com wrote: On Sun, Jan 06, 2013 at 08:28:39AM -0800, Simon Glass wrote: [snip] If you don't support a gcc option it should be possible to disable it in U-Boot for your toolchain as a temporary workaround. It would be good to get a

[U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-05 Thread Simon Glass
This is available on other architectures, and nds32 will start to break without it as code starts to use error numbers more. Signed-off-by: Simon Glass s...@chromium.org --- arch/nds32/include/asm/errno.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644