Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160790
b: refs/heads/master
c: 768db4e
h: refs/heads/master
v: v3
  • Loading branch information
wanzongshun authored and Russell King committed Jul 23, 2009
1 parent 3aeab21 commit 3c2087c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42ff4cf957b695250534e540375e23507c722327
refs/heads/master: 768db4e04b4c969cf3a9e81a79a10af6468ca56d
33 changes: 33 additions & 0 deletions trunk/arch/arm/mach-w90x900/mach-w90p910evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,38 @@ static struct platform_device w90p910_device_fmi = {
.resource = w90p910_fmi_resource,
};

/* MAC device */

static struct resource w90x900_emc_resource[] = {
[0] = {
.start = W90X900_PA_EMC,
.end = W90X900_PA_EMC + W90X900_SZ_EMC - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_EMCTX,
.end = IRQ_EMCTX,
.flags = IORESOURCE_IRQ,
},
[2] = {
.start = IRQ_EMCRX,
.end = IRQ_EMCRX,
.flags = IORESOURCE_IRQ,
}
};

static u64 w90x900_device_emc_dmamask = 0xffffffffUL;
static struct platform_device w90p910_device_emc = {
.name = "w90p910-emc",
.id = -1,
.num_resources = ARRAY_SIZE(w90x900_emc_resource),
.resource = w90x900_emc_resource,
.dev = {
.dma_mask = &w90x900_device_emc_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};

static struct map_desc w90p910_iodesc[] __initdata = {
};

Expand All @@ -265,6 +297,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = {
&w90x900_device_kpi,
&w90x900_device_usbgadget,
&w90p910_device_fmi,
&w90p910_device_emc,
};

static void __init w90p910evb_map_io(void)
Expand Down

0 comments on commit 3c2087c

Please sign in to comment.