PDK-6948: Board: Updated am64x evm board uart init
authorM V Pratap Reddy <x0257344@ti.com>
Fri, 20 Nov 2020 02:45:26 +0000 (20:45 -0600)
committerSivaraj R <sivaraj@ti.com>
Fri, 20 Nov 2020 03:48:23 +0000 (21:48 -0600)
 - Updaed board UART init to control the UART instance
   through board init params.

packages/ti/board/src/am64x_evm/board_lld_init.c

index 055fd6287649aae84dab877c1ac52b233ea420e2..309b93c6ede5406116fbbae5f8df10a825efa4a2 100644 (file)
@@ -78,7 +78,7 @@ Board_STATUS Board_internalInitI2C(uint8_t i2cInst)
  */\r
 Board_STATUS Board_uartStdioInit(void)\r
 {\r
-    UART_stdioInit(BOARD_UART_INSTANCE);\r
+    UART_stdioInit(gBoardInitParams.uartInst);\r
 \r
     return BOARD_SOK;\r
 }\r