Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187481
b: refs/heads/master
c: fcfdc67
h: refs/heads/master
i:
  187479: 8325eff
v: v3
  • Loading branch information
Marc Zyngier authored and Eric Miao committed Mar 1, 2010
1 parent 1b46f3a commit eaa2956
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 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: 90ac0dfd9f5931c9011b35ced0ba576e32656fb2
refs/heads/master: fcfdc67ff2b104355683f7264a6559a0cc360646
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/include/mach/zeus.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
#define ZEUS_CPLD_VERSION (ZEUS_CPLD + 0x0000)
#define ZEUS_CPLD_ISA_IRQ (ZEUS_CPLD + 0x1000)
#define ZEUS_CPLD_CONTROL (ZEUS_CPLD + 0x2000)
#define ZEUS_CPLD_EXTWDOG (ZEUS_CPLD + 0x3000)

/* CPLD register bits */
#define ZEUS_CPLD_CONTROL_CF_RST 0x01
Expand Down
20 changes: 14 additions & 6 deletions trunk/arch/arm/mach-pxa/zeus.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,19 @@ static struct platform_device zeus_pcmcia_device = {
},
};

static struct resource zeus_max6369_resource = {
.start = ZEUS_CPLD_EXTWDOG_PHYS,
.end = ZEUS_CPLD_EXTWDOG_PHYS,
.flags = IORESOURCE_MEM,
};

struct platform_device zeus_max6369_device = {
.name = "max6369_wdt",
.id = -1,
.resource = &zeus_max6369_resource,
.num_resources = 1,
};

static struct platform_device *zeus_devices[] __initdata = {
&zeus_serial_device,
&zeus_mtd_devices[0],
Expand All @@ -466,6 +479,7 @@ static struct platform_device *zeus_devices[] __initdata = {
&pxa2xx_spi_ssp3_device,
&zeus_leds_device,
&zeus_pcmcia_device,
&zeus_max6369_device,
};

/* AC'97 */
Expand Down Expand Up @@ -818,12 +832,6 @@ static struct map_desc zeus_io_desc[] __initdata = {
.length = 0x1000,
.type = MT_DEVICE,
},
{
.virtual = ZEUS_CPLD_EXTWDOG,
.pfn = __phys_to_pfn(ZEUS_CPLD_EXTWDOG_PHYS),
.length = 0x1000,
.type = MT_DEVICE,
},
{
.virtual = ZEUS_PC104IO,
.pfn = __phys_to_pfn(ZEUS_PC104IO_PHYS),
Expand Down

0 comments on commit eaa2956

Please sign in to comment.