Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130575
b: refs/heads/master
c: 1c4db8e
h: refs/heads/master
i:
  130573: 06440e2
  130571: 991b246
  130567: 57ca582
  130559: 8813e85
v: v3
  • Loading branch information
Phil Sutter authored and Ralf Baechle committed Jan 30, 2009
1 parent 8fd1dba commit 1a951c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 4ca3803f81bca9081f17ef67ffca8b11790f608d
refs/heads/master: 1c4db8e82808a804751be906e8c14bbe0a264a9c
14 changes: 2 additions & 12 deletions trunk/arch/mips/rb532/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ unsigned char get_latch_u5(void)
}
EXPORT_SYMBOL(get_latch_u5);

static struct resource rb532_dev3_ctl_res[] = {
{
.name = "dev3_ctl",
.flags = IORESOURCE_MEM,
}
};

static struct resource korina_dev0_res[] = {
{
.name = "korina_regs",
Expand Down Expand Up @@ -342,11 +335,8 @@ static int __init plat_setup_devices(void)
nand_slot0_res[0].start = readl(IDT434_REG_BASE + DEV2BASE);
nand_slot0_res[0].end = nand_slot0_res[0].start + 0x1000;

/* Read the third (multi purpose) resources from the DC */
rb532_dev3_ctl_res[0].start = readl(IDT434_REG_BASE + DEV3BASE);
rb532_dev3_ctl_res[0].end = rb532_dev3_ctl_res[0].start + 0x1000;

dev3.base = ioremap_nocache(rb532_dev3_ctl_res[0].start, 0x1000);
/* Read and map device controller 3 */
dev3.base = ioremap_nocache(readl(IDT434_REG_BASE + DEV3BASE), 1);

if (!dev3.base) {
printk(KERN_ERR "rb532: cannot remap device controller 3\n");
Expand Down

0 comments on commit 1a951c2

Please sign in to comment.