Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137221
b: refs/heads/master
c: 63d9766
h: refs/heads/master
i:
  137219: 140bc8c
v: v3
  • Loading branch information
Valentin Longchamp authored and Sascha Hauer committed Mar 13, 2009
1 parent 8318959 commit b116d7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 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: 945c10b87c4d72ac9ad392132d19d17f3ebdb310
refs/heads/master: 63d976672e39176316b2a479464aa3aaf7c2a7fd
13 changes: 8 additions & 5 deletions trunk/arch/arm/mach-mx3/mx31pdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ static struct imxuart_platform_data uart_pdata = {
.flags = IMXUART_HAVE_RTSCTS,
};

static int uart_pins[] = {
MX31_PIN_CTS1__CTS1,
MX31_PIN_RTS1__RTS1,
MX31_PIN_TXD1__TXD1,
MX31_PIN_RXD1__RXD1
};

static inline void mxc_init_imx_uart(void)
{
mxc_iomux_mode(MX31_PIN_CTS1__CTS1);
mxc_iomux_mode(MX31_PIN_RTS1__RTS1);
mxc_iomux_mode(MX31_PIN_TXD1__TXD1);
mxc_iomux_mode(MX31_PIN_RXD1__RXD1);

mxc_iomux_setup_multiple_pins(uart_pins, ARRAY_SIZE(uart_pins), "uart-0");
mxc_register_device(&mxc_uart_device0, &uart_pdata);
}

Expand Down

0 comments on commit b116d7a

Please sign in to comment.