diff options
author | Erwan Le Ray <erwan.leray@st.com> | 2020-02-03 15:04:25 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2020-03-13 17:05:07 +0100 |
commit | 62c1594d38805938e566b059573c0b1e49da6b70 (patch) | |
tree | f53b309ea0ac34af8521f4f564f9055f5c204b52 /arch/arm/include | |
parent | 33cab8954abe719d0e19d5bba017cb1695d91d68 (diff) | |
download | linux-stable-62c1594d38805938e566b059573c0b1e49da6b70.tar.gz linux-stable-62c1594d38805938e566b059573c0b1e49da6b70.tar.bz2 linux-stable-62c1594d38805938e566b059573c0b1e49da6b70.zip |
ARM: debug: stm32: add UART early console support for STM32MP1
Add support of early console for STM32MP1. Default UART instance is UART4,
but other UART instances can be configured by setting physical and virtual
base addresses in menuconfig.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/debug/stm32.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/debug/stm32.S b/arch/arm/include/debug/stm32.S index 5a2e2b065340..f3c4a37210ed 100644 --- a/arch/arm/include/debug/stm32.S +++ b/arch/arm/include/debug/stm32.S @@ -9,7 +9,8 @@ #define STM32_USART_TDR_OFF 0x04 #endif -#if defined(CONFIG_STM32F7_DEBUG_UART) || defined(CONFIG_STM32H7_DEBUG_UART) +#if defined(CONFIG_STM32F7_DEBUG_UART) || defined(CONFIG_STM32H7_DEBUG_UART) || \ + defined(CONFIG_STM32MP1_DEBUG_UART) #define STM32_USART_SR_OFF 0x1C #define STM32_USART_TDR_OFF 0x28 #endif |