Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116141
b: refs/heads/master
c: 347cd34
h: refs/heads/master
i:
  116139: 8b881a3
v: v3
  • Loading branch information
Luca Santini authored and Paul Mundt committed Sep 21, 2008
1 parent d300563 commit d8c575a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3ea00a36da2e715217f0e31944dd220deefa38c
refs/heads/master: 347cd34f4b32be30d2a6d92fe4d6eac04b00a637
11 changes: 6 additions & 5 deletions trunk/arch/sh/boards/board-edosk7760.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <asm/addrspace.h>
#include <asm/delay.h>
#include <asm/i2c-sh7760.h>
#include <asm/sizes.h>

/* Bus state controller registers for CS4 area */
#define BSC_CS4BCR 0xA4FD0010
Expand All @@ -46,16 +47,16 @@ static struct mtd_partition edosk7760_nor_flash_partitions[] = {
{
.name = "bootloader",
.offset = 0,
.size = (1 * 1024 * 1024), /*1MB*/
.size = SZ_256K,
.mask_flags = MTD_WRITEABLE, /* Read-only */
}, {
.name = "kernel",
.offset = MTDPART_OFS_APPEND,
.size = (2 * 1024 * 1024), /*2MB*/
.size = SZ_2M,
}, {
.name = "fs",
.offset = MTDPART_OFS_APPEND,
.size = (26 * 1024 * 1024),
.size = SZ_26M,
}, {
.name = "other",
.offset = MTDPART_OFS_APPEND,
Expand All @@ -73,7 +74,7 @@ static struct resource edosk7760_nor_flash_resources[] = {
[0] = {
.name = "NOR Flash",
.start = 0x00000000,
.end = (32 * 1024 * 1024) -1, /* 32MB*/
.end = 0x00000000 + SZ_32M - 1,
.flags = IORESOURCE_MEM,
}
};
Expand Down Expand Up @@ -145,7 +146,7 @@ static struct smc91x_platdata smc91x_info = {
static struct resource smc91x_res[] = {
[0] = {
.start = SMC_IOADDR,
.end = SMC_IOADDR + 0x1f,
.end = SMC_IOADDR + SZ_32 - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
Expand Down

0 comments on commit d8c575a

Please sign in to comment.