]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(n1sdp): mapping Run-time UART to IOFPGA UART0
authorHimanshu Sharma <Himanshu.Sharma@arm.com>
Mon, 20 Jun 2022 06:06:34 +0000 (06:06 +0000)
committersahil <sahil@arm.com>
Thu, 1 Sep 2022 09:53:49 +0000 (15:23 +0530)
Currently the Run-time UART is mapped to AP UART1 which is internally
routed to MCP UART1, so unsharing it from AP UART1 and mapping it to
IOFPGA UART0 for exclusiveness among the usage of the UARTs.

Signed-off-by: Himanshu Sharma <Himanshu.Sharma@arm.com>
Change-Id: I366740a971a880decf0d373e9055e7ebda5df53a

plat/arm/board/n1sdp/include/platform_def.h

index 7d78a295c57044fa6eda19f6672d73cffd3da722..b3799a7b20a304cc8d963183e85fadee3f25db32 100644 (file)
@@ -15,8 +15,9 @@
 #define PLAT_ARM_BOOT_UART_BASE                        0x2A400000
 #define PLAT_ARM_BOOT_UART_CLK_IN_HZ           50000000
 
-#define PLAT_ARM_RUN_UART_BASE         0x2A410000
-#define PLAT_ARM_RUN_UART_CLK_IN_HZ    50000000
+/* IOFPGA UART0 */
+#define PLAT_ARM_RUN_UART_BASE                 0x1C090000
+#define PLAT_ARM_RUN_UART_CLK_IN_HZ            24000000
 
 #define PLAT_ARM_SP_MIN_RUN_UART_BASE          0x2A410000
 #define PLAT_ARM_SP_MIN_RUN_UART_CLK_IN_HZ     50000000