Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198470
b: refs/heads/master
c: 5ab0a27
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Sascha Hauer committed May 18, 2010
1 parent 1a58fc3 commit 8c3324d
Show file tree
Hide file tree
Showing 3 changed files with 17 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: f13899da00e1b815211cf246c7d2704db3c18e37
refs/heads/master: 5ab0a2758c887fc3094dac06d1838d8df709a09d
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-mx25/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,3 +500,18 @@ struct platform_device mx25_fb_device = {
.coherent_dma_mask = 0xFFFFFFFF,
},
};

static struct resource mxc_wdt_resources[] = {
{
.start = MX25_WDOG_BASE_ADDR,
.end = MX25_WDOG_BASE_ADDR + SZ_16K - 1,
.flags = IORESOURCE_MEM,
},
};

struct platform_device mxc_wdt = {
.name = "imx2-wdt",
.id = 0,
.num_resources = ARRAY_SIZE(mxc_wdt_resources),
.resource = mxc_wdt_resources,
};
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-mx25/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ extern struct platform_device mx25_fec_device;
extern struct platform_device mxc_nand_device;
extern struct platform_device mx25_rtc_device;
extern struct platform_device mx25_fb_device;
extern struct platform_device mxc_wdt;

0 comments on commit 8c3324d

Please sign in to comment.