Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137224
b: refs/heads/master
c: 879fea1
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer committed Mar 13, 2009
1 parent dbeb842 commit 861c1cb
Show file tree
Hide file tree
Showing 5 changed files with 24 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: fe7316bff119a11e68f895ecf9a5a713ed30004c
refs/heads/master: 879fea1b486d2b6fa399c40b8aed172b0dfdedb9
20 changes: 20 additions & 0 deletions trunk/arch/arm/mach-mx2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,27 @@ struct platform_device mxc_fb_device = {
.coherent_dma_mask = 0xFFFFFFFF,
},
};
#endif

#ifdef CONFIG_MACH_MX27
static struct resource mxc_fec_resources[] = {
{
.start = FEC_BASE_ADDR,
.end = FEC_BASE_ADDR + 0xfff,
.flags = IORESOURCE_MEM
}, {
.start = MXC_INT_FEC,
.end = MXC_INT_FEC,
.flags = IORESOURCE_IRQ
},
};

struct platform_device mxc_fec_device = {
.name = "fec",
.id = 0,
.num_resources = ARRAY_SIZE(mxc_fec_resources),
.resource = mxc_fec_resources,
};
#endif

/* GPIO port description */
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-mx2/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ extern struct platform_device mxc_uart_device5;
extern struct platform_device mxc_w1_master_device;
extern struct platform_device mxc_nand_device;
extern struct platform_device mxc_fb_device;
extern struct platform_device mxc_fec_device;
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-mx2/mx27ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ static int uart_mxc_port5_exit(struct platform_device *pdev)

static struct platform_device *platform_devices[] __initdata = {
&mx27ads_nor_mtd_device,
&mxc_fec_device,
};

static int mxc_fec_pins[] = {
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-mx2/pcm038.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ static struct mxc_nand_platform_data pcm038_nand_board_info = {
static struct platform_device *platform_devices[] __initdata = {
&pcm038_nor_mtd_device,
&mxc_w1_master_device,
&mxc_fec_device,
&pcm038_sram_mtd_device,
};

Expand Down

0 comments on commit 861c1cb

Please sign in to comment.