]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4372/1: Define byte sizes in asm-arm/sizes.h
authorAndrew Victor <andrew@sanpeople.com>
Fri, 11 May 2007 19:09:41 +0000 (20:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 11 May 2007 20:07:58 +0000 (21:07 +0100)
Define SZ_512, SZ_256 and SZ_16 in asm-arm/sizes.h.
Remove the definitions from the at91*_devices.c files.

(Dependent on ARM patch #4370/2)

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
include/asm-arm/sizes.h

index 2624a4f22d612391aad930a9696795893f654f98..70599bcf451cf9c64000f71f2af29a6f849db02a 100644 (file)
@@ -22,9 +22,6 @@
 
 #include "generic.h"
 
-#define SZ_512 0x00000200
-#define SZ_256 0x00000100
-#define SZ_16  0x00000010
 
 /* --------------------------------------------------------------------
  *  USB Host
index 40586e22cd385cd28dda795292f5e78b15a6199e..ffd3154c1e5404f2a305b4b4e8ece8b739ad8b02 100644 (file)
@@ -22,9 +22,6 @@
 
 #include "generic.h"
 
-#define SZ_512 0x00000200
-#define SZ_256 0x00000100
-#define SZ_16  0x00000010
 
 /* --------------------------------------------------------------------
  *  USB Host
index 8e781997716ae4981d4847fa19109462153d1047..9db58da0475435d79e7068e2681a612f373b346a 100644 (file)
@@ -23,9 +23,6 @@
 
 #include "generic.h"
 
-#define SZ_512 0x00000200
-#define SZ_256 0x00000100
-#define SZ_16  0x00000010
 
 /* --------------------------------------------------------------------
  *  USB Host
index 2b2e18a671283be6b97031b82ce41672e923e148..635695787f91c271be62769b6716fdebcebfd6f4 100644 (file)
@@ -22,9 +22,6 @@
 
 #include "generic.h"
 
-#define SZ_512 0x00000200
-#define SZ_256 0x00000100
-#define SZ_16  0x00000010
 
 /* --------------------------------------------------------------------
  *  USB Host
index e775aa65bb63544d2dcf8d17e927901fdafca1da..cd7532bcd4e5ea92a74aa2e4c5caec83fe519c04 100644 (file)
 
 #include "generic.h"
 
-#define SZ_512 0x00000200
-#define SZ_256 0x00000100
-#define SZ_16  0x00000010
-
 
 /* --------------------------------------------------------------------
  *  MMC / SD
index 7f50ae0edf1bb248f00e0ea4194ce5e94a570da6..503843db15652b242a0952dc47fb015489485a51 100644 (file)
 #define __sizes_h                       1
 
 /* handy sizes */
+#define SZ_16                          0x00000010
+#define SZ_256                         0x00000100
+#define SZ_512                         0x00000200
+
 #define SZ_1K                           0x00000400
 #define SZ_4K                           0x00001000
 #define SZ_8K                           0x00002000