Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123776
b: refs/heads/master
c: 0287097
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer committed Dec 16, 2008
1 parent 5d9459e commit bd2666b
Show file tree
Hide file tree
Showing 3 changed files with 21 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: 46c3d567af21cba107fef37b88a0d6ec6c35842f
refs/heads/master: 02870978ea4b0a1bcae201f1b5f3a07344070398
19 changes: 19 additions & 0 deletions trunk/arch/arm/mach-mx2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,25 @@ struct platform_device mxc_w1_master_device = {
.resource = mxc_w1_master_resources,
};

static struct resource mxc_nand_resources[] = {
{
.start = NFC_BASE_ADDR,
.end = NFC_BASE_ADDR + 0xfff,
.flags = IORESOURCE_MEM
}, {
.start = MXC_INT_NANDFC,
.end = MXC_INT_NANDFC,
.flags = IORESOURCE_IRQ
},
};

struct platform_device mxc_nand_device = {
.name = "mxc_nand",
.id = 0,
.num_resources = ARRAY_SIZE(mxc_nand_resources),
.resource = mxc_nand_resources,
};

/* GPIO port description */
static struct mxc_gpio_port imx_gpio_ports[] = {
[0] = {
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 @@ -13,3 +13,4 @@ extern struct platform_device mxc_uart_device3;
extern struct platform_device mxc_uart_device4;
extern struct platform_device mxc_uart_device5;
extern struct platform_device mxc_w1_master_device;
extern struct platform_device mxc_nand_device;

0 comments on commit bd2666b

Please sign in to comment.