summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-ecbat91.c
diff options
context:
space:
mode:
authorAndrew Victor2008-09-21 22:30:02 +0200
committerRussell King2008-09-21 23:58:36 +0200
commite505240b6a6fd47b84cfeb1272ffeacd3e0874b3 (patch)
tree4a1b9b3715bcf2f52c4ba86e1212c9edd09badfe /arch/arm/mach-at91/board-ecbat91.c
parent[ARM] 5240/1: AT91: eeproms on sam9260ek, sam9263ek (diff)
downloadkernel-qcow2-linux-e505240b6a6fd47b84cfeb1272ffeacd3e0874b3.tar.gz
kernel-qcow2-linux-e505240b6a6fd47b84cfeb1272ffeacd3e0874b3.tar.xz
kernel-qcow2-linux-e505240b6a6fd47b84cfeb1272ffeacd3e0874b3.zip
[ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values
In the various AT91 board files, replace hard-coded size values (eg, 0x800000) with the SZ_ size definitions (eg, SZ_8M) from sizes.h Also replace MTD partition offsets with MTDPART_OFS_NXTBLK. Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/board-ecbat91.c')
-rw-r--r--arch/arm/mach-at91/board-ecbat91.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-ecbat91.c b/arch/arm/mach-at91/board-ecbat91.c
index bfeee8a2af28..1d69908617f0 100644
--- a/arch/arm/mach-at91/board-ecbat91.c
+++ b/arch/arm/mach-at91/board-ecbat91.c
@@ -86,7 +86,7 @@ static struct mtd_partition __initdata my_flash0_partitions[] =
{ /* 0x8400 */
.name = "Darrell-loader",
.offset = 0,
- .size = 12* 1056,
+ .size = 12 * 1056,
},
{
.name = "U-boot",