aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/board-edosk7760.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/board-edosk7760.c')
-rw-r--r--arch/sh/boards/board-edosk7760.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/sh/boards/board-edosk7760.c b/arch/sh/boards/board-edosk7760.c
index 4890ba7961ae..35dc0994875d 100644
--- a/arch/sh/boards/board-edosk7760.c
+++ b/arch/sh/boards/board-edosk7760.c
@@ -30,6 +30,7 @@
30#include <asm/addrspace.h> 30#include <asm/addrspace.h>
31#include <asm/delay.h> 31#include <asm/delay.h>
32#include <asm/i2c-sh7760.h> 32#include <asm/i2c-sh7760.h>
33#include <asm/sizes.h>
33 34
34/* Bus state controller registers for CS4 area */ 35/* Bus state controller registers for CS4 area */
35#define BSC_CS4BCR 0xA4FD0010 36#define BSC_CS4BCR 0xA4FD0010
@@ -46,16 +47,16 @@ static struct mtd_partition edosk7760_nor_flash_partitions[] = {
46 { 47 {
47 .name = "bootloader", 48 .name = "bootloader",
48 .offset = 0, 49 .offset = 0,
49 .size = (1 * 1024 * 1024), /*1MB*/ 50 .size = SZ_256K,
50 .mask_flags = MTD_WRITEABLE, /* Read-only */ 51 .mask_flags = MTD_WRITEABLE, /* Read-only */
51 }, { 52 }, {
52 .name = "kernel", 53 .name = "kernel",
53 .offset = MTDPART_OFS_APPEND, 54 .offset = MTDPART_OFS_APPEND,
54 .size = (2 * 1024 * 1024), /*2MB*/ 55 .size = SZ_2M,
55 }, { 56 }, {
56 .name = "fs", 57 .name = "fs",
57 .offset = MTDPART_OFS_APPEND, 58 .offset = MTDPART_OFS_APPEND,
58 .size = (26 * 1024 * 1024), 59 .size = SZ_26M,
59 }, { 60 }, {
60 .name = "other", 61 .name = "other",
61 .offset = MTDPART_OFS_APPEND, 62 .offset = MTDPART_OFS_APPEND,
@@ -73,7 +74,7 @@ static struct resource edosk7760_nor_flash_resources[] = {
73 [0] = { 74 [0] = {
74 .name = "NOR Flash", 75 .name = "NOR Flash",
75 .start = 0x00000000, 76 .start = 0x00000000,
76 .end = (32 * 1024 * 1024) -1, /* 32MB*/ 77 .end = 0x00000000 + SZ_32M - 1,
77 .flags = IORESOURCE_MEM, 78 .flags = IORESOURCE_MEM,
78 } 79 }
79}; 80};
@@ -145,7 +146,7 @@ static struct smc91x_platdata smc91x_info = {
145static struct resource smc91x_res[] = { 146static struct resource smc91x_res[] = {
146 [0] = { 147 [0] = {
147 .start = SMC_IOADDR, 148 .start = SMC_IOADDR,
148 .end = SMC_IOADDR + 0x1f, 149 .end = SMC_IOADDR + SZ_32 - 1,
149 .flags = IORESOURCE_MEM, 150 .flags = IORESOURCE_MEM,
150 }, 151 },
151 [1] = { 152 [1] = {