Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29601
b: refs/heads/master
c: 1f64eb3
h: refs/heads/master
i:
  29599: 590a7d6
v: v3
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Jun 24, 2006
1 parent 389fee1 commit acea546
Show file tree
Hide file tree
Showing 2 changed files with 27 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: 1d81eedb8f6c13c262a70b8167530ec24b09c0ff
refs/heads/master: 1f64eb379cfc95d5f627b779685f7ac6721df322
26 changes: 26 additions & 0 deletions trunk/arch/arm/mach-ep93xx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,31 @@ static struct platform_device ep93xx_rtc_device = {
};


static struct resource ep93xx_ohci_resources[] = {
[0] = {
.start = EP93XX_USB_PHYS_BASE,
.end = EP93XX_USB_PHYS_BASE + 0x0fff,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_EP93XX_USB,
.end = IRQ_EP93XX_USB,
.flags = IORESOURCE_IRQ,
},
};

static struct platform_device ep93xx_ohci_device = {
.name = "ep93xx-ohci",
.id = -1,
.dev = {
.dma_mask = (void *)0xffffffff,
.coherent_dma_mask = 0xffffffff,
},
.num_resources = ARRAY_SIZE(ep93xx_ohci_resources),
.resource = ep93xx_ohci_resources,
};


void __init ep93xx_init_devices(void)
{
unsigned int v;
Expand All @@ -452,4 +477,5 @@ void __init ep93xx_init_devices(void)
amba_device_register(&uart3_device, &iomem_resource);

platform_device_register(&ep93xx_rtc_device);
platform_device_register(&ep93xx_ohci_device);
}

0 comments on commit acea546

Please sign in to comment.