mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
mx25: Make the UART port number explicit in its setup function
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
8640c98463
commit
9aa720b145
@ -145,7 +145,7 @@ int cpu_mmc_init (bd_t * bis)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_MXC_UART
|
#ifdef CONFIG_MXC_UART
|
||||||
void mx25_uart_init_pins (void)
|
void mx25_uart1_init_pins(void)
|
||||||
{
|
{
|
||||||
struct iomuxc_mux_ctl *muxctl;
|
struct iomuxc_mux_ctl *muxctl;
|
||||||
struct iomuxc_pad_ctl *padctl;
|
struct iomuxc_pad_ctl *padctl;
|
||||||
|
@ -141,9 +141,9 @@ void tx25_fec_init(void)
|
|||||||
int board_init()
|
int board_init()
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_MXC_UART
|
#ifdef CONFIG_MXC_UART
|
||||||
extern void mx25_uart_init_pins(void);
|
extern void mx25_uart1_init_pins(void);
|
||||||
|
|
||||||
mx25_uart_init_pins();
|
mx25_uart1_init_pins();
|
||||||
#endif
|
#endif
|
||||||
/* board id for linux */
|
/* board id for linux */
|
||||||
gd->bd->bi_arch_number = MACH_TYPE_TX25;
|
gd->bd->bi_arch_number = MACH_TYPE_TX25;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user