diff options
author | Wolfgang Denk <wd@denx.de> | 2010-03-28 00:04:18 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-28 00:04:18 +0100 |
commit | be1a91320ce0cb7330bb650d1576bb56c55092af (patch) | |
tree | f6bb6d34565d4f5b3386a23885fb3df6c17e0456 /cpu/mcf547x_8x/cpu_init.c | |
parent | 6b94b4962211c16ee2197048faa887e1f92f3757 (diff) | |
parent | 9d3a86aec52cb3c0e9badd12167d9292184ce4dd (diff) | |
download | u-boot-imx-be1a91320ce0cb7330bb650d1576bb56c55092af.zip u-boot-imx-be1a91320ce0cb7330bb650d1576bb56c55092af.tar.gz u-boot-imx-be1a91320ce0cb7330bb650d1576bb56c55092af.tar.bz2 |
Merge branch 'next' of git://git.denx.de/u-boot-coldfire into next
Diffstat (limited to 'cpu/mcf547x_8x/cpu_init.c')
-rw-r--r-- | cpu/mcf547x_8x/cpu_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mcf547x_8x/cpu_init.c b/cpu/mcf547x_8x/cpu_init.c index 96a3132..60c9126 100644 --- a/cpu/mcf547x_8x/cpu_init.c +++ b/cpu/mcf547x_8x/cpu_init.c @@ -113,13 +113,13 @@ int cpu_init_r(void) return (0); } -void uart_port_conf(void) +void uart_port_conf(int port) { volatile gpio_t *gpio = (gpio_t *) MMAP_GPIO; volatile u8 *pscsicr = (u8 *) (CONFIG_SYS_UART_BASE + 0x40); /* Setup Ports: */ - switch (CONFIG_SYS_UART_PORT) { + switch (port) { case 0: gpio->par_psc0 = (GPIO_PAR_PSC0_TXD0 | GPIO_PAR_PSC0_RXD0); break; |