Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123779
b: refs/heads/master
c: 3287abb
h: refs/heads/master
i:
  123777: 1d5dc55
  123775: 5d9459e
v: v3
  • Loading branch information
Sascha Hauer committed Dec 16, 2008
1 parent 4a12a0b commit 68b8705
Show file tree
Hide file tree
Showing 2 changed files with 9 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: cb96cf1ad641334ca605cdf25841ac020d6ae01c
refs/heads/master: 3287abbd71fded81469adce21628e838c566b86b
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-mx3/pcm037.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <mach/imx-uart.h>
#include <mach/iomux-mx3.h>
#include <mach/board-pcm037.h>
#include <mach/mxc_nand.h>

#include "devices.h"

Expand Down Expand Up @@ -111,6 +112,11 @@ static struct platform_device pcm037_sram_device = {
.resource = &pcm038_sram_resource,
};

static struct mxc_nand_platform_data pcm037_nand_board_info = {
.width = 1,
.hw_ecc = 1,
};

static struct platform_device *devices[] __initdata = {
&pcm037_flash,
&pcm037_eth,
Expand Down Expand Up @@ -143,6 +149,8 @@ static void __init mxc_board_init(void)
mxc_iomux_mode(IOMUX_MODE(MX31_PIN_GPIO3_1, IOMUX_CONFIG_GPIO));
if (!gpio_request(MX31_PIN_GPIO3_1, "pcm037-eth"))
gpio_direction_input(MX31_PIN_GPIO3_1);

mxc_register_device(&mxc_nand_device, &pcm037_nand_board_info);
}

/*
Expand Down

0 comments on commit 68b8705

Please sign in to comment.