mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 04:48:14 +00:00
fix(stm32mp13): correct USART addresses
On STM32MP13, USART1 and USART2 addresses are 0x4C000000 and 0x4C001000. Whereas on STM32MP15, the addresses were 0x5C000000 and 0x4000E000. Use dedicated flags to choose the correct address, that could be use for early or crash console. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I98bd97a0ac8b0408a50376801e2a1961b241a3d6
This commit is contained in:
parent
10f6dc7893
commit
de1ab9fe05
1 changed files with 6 additions and 0 deletions
|
@ -252,8 +252,14 @@ enum ddr_type {
|
|||
/*******************************************************************************
|
||||
* STM32MP1 UART
|
||||
******************************************************************************/
|
||||
#if STM32MP13
|
||||
#define USART1_BASE U(0x4C000000)
|
||||
#define USART2_BASE U(0x4C001000)
|
||||
#endif
|
||||
#if STM32MP15
|
||||
#define USART1_BASE U(0x5C000000)
|
||||
#define USART2_BASE U(0x4000E000)
|
||||
#endif
|
||||
#define USART3_BASE U(0x4000F000)
|
||||
#define UART4_BASE U(0x40010000)
|
||||
#define UART5_BASE U(0x40011000)
|
||||
|
|
Loading…
Add table
Reference in a new issue