mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
28 lines
518 B
C
28 lines
518 B
C
|
/*
|
||
|
* mux.c
|
||
|
*
|
||
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <asm/arch/sys_proto.h>
|
||
|
#include <asm/arch/mux.h>
|
||
|
#include "board.h"
|
||
|
|
||
|
static struct module_pin_mux uart0_pin_mux[] = {
|
||
|
{OFFSET(uart0_rxd), (MODE(0) | RXACTIVE)}, /* UART0_RXD */
|
||
|
{OFFSET(uart0_txd), (MODE(0))}, /* UART0_TXD */
|
||
|
{-1},
|
||
|
};
|
||
|
|
||
|
void enable_uart0_pin_mux(void)
|
||
|
{
|
||
|
configure_module_pin_mux(uart0_pin_mux);
|
||
|
}
|
||
|
|
||
|
void enable_board_pin_mux(void)
|
||
|
{
|
||
|
}
|