mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Add missing SZ_xx defines
@ 2013-02-14  9:59 Alexander Shiyan
  2013-02-14 20:22 ` Sascha Hauer
  2013-02-15  8:41 ` Sascha Hauer
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Shiyan @ 2013-02-14  9:59 UTC (permalink / raw)
  To: barebox


Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 include/sizes.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/sizes.h b/include/sizes.h
index c47f906..321d40c 100644
--- a/include/sizes.h
+++ b/include/sizes.h
@@ -17,7 +17,19 @@
 #define __sizes_h			1
 
 /* handy sizes */
+#define SZ_1				0x00000001
+#define SZ_2				0x00000002
+#define SZ_4				0x00000004
+#define SZ_8				0x00000008
+#define SZ_16				0x00000010
+#define SZ_32				0x00008020
+#define SZ_64				0x00000040
+#define SZ_128				0x00000080
+#define SZ_256				0x00000100
+#define SZ_512				0x00000200
+
 #define SZ_1K				0x00000400
+#define SZ_2K				0x00000800
 #define SZ_4K				0x00001000
 #define SZ_8K				0x00002000
 #define SZ_16K				0x00004000
-- 
1.7.3.4


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

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

* Re: [PATCH] Add missing SZ_xx defines
  2013-02-14  9:59 [PATCH] Add missing SZ_xx defines Alexander Shiyan
@ 2013-02-14 20:22 ` Sascha Hauer
  2013-02-15  8:41 ` Sascha Hauer
  1 sibling, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2013-02-14 20:22 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Thu, Feb 14, 2013 at 01:59:22PM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied, thanks

Sascha

> ---
>  include/sizes.h |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/include/sizes.h b/include/sizes.h
> index c47f906..321d40c 100644
> --- a/include/sizes.h
> +++ b/include/sizes.h
> @@ -17,7 +17,19 @@
>  #define __sizes_h			1
>  
>  /* handy sizes */
> +#define SZ_1				0x00000001
> +#define SZ_2				0x00000002
> +#define SZ_4				0x00000004
> +#define SZ_8				0x00000008
> +#define SZ_16				0x00000010
> +#define SZ_32				0x00008020
> +#define SZ_64				0x00000040
> +#define SZ_128				0x00000080
> +#define SZ_256				0x00000100
> +#define SZ_512				0x00000200
> +
>  #define SZ_1K				0x00000400
> +#define SZ_2K				0x00000800
>  #define SZ_4K				0x00001000
>  #define SZ_8K				0x00002000
>  #define SZ_16K				0x00004000
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> 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] 5+ messages in thread

* Re: [PATCH] Add missing SZ_xx defines
  2013-02-14  9:59 [PATCH] Add missing SZ_xx defines Alexander Shiyan
  2013-02-14 20:22 ` Sascha Hauer
@ 2013-02-15  8:41 ` Sascha Hauer
  2013-02-15  8:43   ` Re[2]: " Alexander Shiyan
  2013-02-15  8:51   ` Steffen Trumtrar
  1 sibling, 2 replies; 5+ messages in thread
From: Sascha Hauer @ 2013-02-15  8:41 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Thu, Feb 14, 2013 at 01:59:22PM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  include/sizes.h |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/include/sizes.h b/include/sizes.h
> index c47f906..321d40c 100644
> --- a/include/sizes.h
> +++ b/include/sizes.h
> @@ -17,7 +17,19 @@
>  #define __sizes_h			1
>  
>  /* handy sizes */
> +#define SZ_1				0x00000001
> +#define SZ_2				0x00000002
> +#define SZ_4				0x00000004
> +#define SZ_8				0x00000008
> +#define SZ_16				0x00000010
> +#define SZ_32				0x00008020

There is a tiny bug in the line above, can you find it? ;)

Fixed this. Reported-by: Steffen Trumtrar, who seems to have good eyes.

Sascha

-- 
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] 5+ messages in thread

* Re[2]: [PATCH] Add missing SZ_xx defines
  2013-02-15  8:41 ` Sascha Hauer
@ 2013-02-15  8:43   ` Alexander Shiyan
  2013-02-15  8:51   ` Steffen Trumtrar
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Shiyan @ 2013-02-15  8:43 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

> > Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> > ---
> >  include/sizes.h |   12 ++++++++++++
> >  1 files changed, 12 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/sizes.h b/include/sizes.h
> > index c47f906..321d40c 100644
> > --- a/include/sizes.h
> > +++ b/include/sizes.h
> > @@ -17,7 +17,19 @@
> >  #define __sizes_h			1
> >  
> >  /* handy sizes */
> > +#define SZ_1				0x00000001
> > +#define SZ_2				0x00000002
> > +#define SZ_4				0x00000004
> > +#define SZ_8				0x00000008
> > +#define SZ_16				0x00000010
> > +#define SZ_32				0x00008020
> 
> There is a tiny bug in the line above, can you find it? ;)
> 
> Fixed this. Reported-by: Steffen Trumtrar, who seems to have good eyes.

Ah, sorry. Thanks!

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

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

* Re: [PATCH] Add missing SZ_xx defines
  2013-02-15  8:41 ` Sascha Hauer
  2013-02-15  8:43   ` Re[2]: " Alexander Shiyan
@ 2013-02-15  8:51   ` Steffen Trumtrar
  1 sibling, 0 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2013-02-15  8:51 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On Fri, Feb 15, 2013 at 09:41:08AM +0100, Sascha Hauer wrote:
> On Thu, Feb 14, 2013 at 01:59:22PM +0400, Alexander Shiyan wrote:
> > 
> > Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> > ---
> >  include/sizes.h |   12 ++++++++++++
> >  1 files changed, 12 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/sizes.h b/include/sizes.h
> > index c47f906..321d40c 100644
> > --- a/include/sizes.h
> > +++ b/include/sizes.h
> > @@ -17,7 +17,19 @@
> >  #define __sizes_h			1
> >  
> >  /* handy sizes */
> > +#define SZ_1				0x00000001
> > +#define SZ_2				0x00000002
> > +#define SZ_4				0x00000004
> > +#define SZ_8				0x00000008
> > +#define SZ_16				0x00000010
> > +#define SZ_32				0x00008020
> 
> There is a tiny bug in the line above, can you find it? ;)
> 
> Fixed this. Reported-by: Steffen Trumtrar, who seems to have good eyes.
> 

Using Inconsolata as font helps ;-)

str

-- 
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] 5+ messages in thread

end of thread, other threads:[~2013-02-15  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-14  9:59 [PATCH] Add missing SZ_xx defines Alexander Shiyan
2013-02-14 20:22 ` Sascha Hauer
2013-02-15  8:41 ` Sascha Hauer
2013-02-15  8:43   ` Re[2]: " Alexander Shiyan
2013-02-15  8:51   ` Steffen Trumtrar

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