Skip to contentSkip to conversation

Add missing SZ_xx defines

PATCH Applied Alexander Shiyan 3 participants 5 messages Feb 14, 2013 – Feb 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing SZ_xx defines

---
 include/sizes.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
include/sizes.h +12 -0
index c47f906..321d40c 100644
@@ -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
Signature · 7 lines
1.7.3.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 2 lines · Alexander Shiyan

Applied, thanks

Sascha

Quoted 37 lines
---
 include/sizes.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
include/sizes.h +12 -0
index c47f906..321d40c 100644
@@ -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
Signature · 7 lines
1.7.3.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Alexander Shiyan
Quoted 11 lines · Alexander Shiyan
---
 include/sizes.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
include/sizes.h +0 -0
index c47f906..321d40c 100644

include/sizes.h line 25

Quoted 9 lines
include/sizes.h +6 -0
@@ -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

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
Quoted 22 lines
Quoted 10 lines
---
 include/sizes.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
include/sizes.h +0 -0
index c47f906..321d40c 100644

include/sizes.h line 25

Quoted 9 lines
include/sizes.h +6 -0
@@ -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? ;)

Quoted 1 line

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

Ah, sorry. Thanks!

---
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#4 lore raw
In reply to Sascha Hauer
Quoted 24 lines · Sascha Hauer
Quoted 11 lines · Alexander Shiyan
---
 include/sizes.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
include/sizes.h +0 -0
index c47f906..321d40c 100644

include/sizes.h line 25

Quoted 9 lines
include/sizes.h +6 -0
@@ -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? ;)

Quoted 2 lines

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

Using Inconsolata as font helps ;-)

str

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox