diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2019-01-29 10:50:16 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2019-02-01 14:08:54 +0100 |
commit | 45988b123cf40bb651d7c48e913b010a8e255643 (patch) | |
tree | 09f419204533d4439d9a12d9227037652a4c743b /board/mscc | |
parent | ab0ec15f77b5692c06fac024f34a90ab4752b41a (diff) | |
download | u-boot-45988b123cf40bb651d7c48e913b010a8e255643.zip u-boot-45988b123cf40bb651d7c48e913b010a8e255643.tar.gz u-boot-45988b123cf40bb651d7c48e913b010a8e255643.tar.bz2 |
MSCC: Jaguar2 enable debug uart
Enable debug uart for Jaguar2 SoC family.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Diffstat (limited to 'board/mscc')
-rw-r--r-- | board/mscc/jr2/jr2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c index eac4dca..226181f 100644 --- a/board/mscc/jr2/jr2.c +++ b/board/mscc/jr2/jr2.c @@ -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; |