mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
MSCC: Jaguar2 enable debug uart
Enable debug uart for Jaguar2 SoC family. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
This commit is contained in:
parent
ab0ec15f77
commit
45988b123c
2 changed files with 13 additions and 0 deletions
|
@ -64,6 +64,13 @@ static void vcoreiii_gpio_set_alternate(int gpio, int mode)
|
|||
}
|
||||
}
|
||||
|
||||
void board_debug_uart_init(void)
|
||||
{
|
||||
/* too early for the pinctrl driver, so configure the UART pins here */
|
||||
vcoreiii_gpio_set_alternate(10, 1);
|
||||
vcoreiii_gpio_set_alternate(11, 1);
|
||||
}
|
||||
|
||||
static void do_board_detect(void)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -56,3 +56,9 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
CONFIG_LZMA=y
|
||||
CONFIG_DEBUG_UART_BOARD_INIT=y
|
||||
CONFIG_DEBUG_UART_BASE=0x70100000
|
||||
CONFIG_DEBUG_UART_CLOCK=250000000
|
||||
CONFIG_DEBUG_UART=y
|
||||
CONFIG_DEBUG_UART_SHIFT=2
|
||||
CONFIG_DEBUG_UART_ANNOUNCE=y
|
||||
|
|
Loading…
Reference in a new issue