diff options
author | Erwan Le Ray <erwan.leray@st.com> | 2020-02-03 15:04:24 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2020-03-13 17:05:07 +0100 |
commit | 33cab8954abe719d0e19d5bba017cb1695d91d68 (patch) | |
tree | 2dd90b7a7cdabfee46246eff116337976fabfb90 /arch/arm/include/debug | |
parent | 13f71fa885f63e096f5d08da836eaaf78b66ef6f (diff) |
ARM: debug: stm32: add UART early console support for STM32H7
Add support of early console for STM32H7. Default UART instance is USART1,
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/debug')
-rw-r--r-- | arch/arm/include/debug/stm32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/debug/stm32.S b/arch/arm/include/debug/stm32.S index b0c7034b33d9..5a2e2b065340 100644 --- a/arch/arm/include/debug/stm32.S +++ b/arch/arm/include/debug/stm32.S @@ -9,7 +9,7 @@ #define STM32_USART_TDR_OFF 0x04 #endif -#ifdef CONFIG_STM32F7_DEBUG_UART +#if defined(CONFIG_STM32F7_DEBUG_UART) || defined(CONFIG_STM32H7_DEBUG_UART) #define STM32_USART_SR_OFF 0x1C #define STM32_USART_TDR_OFF 0x28 #endif |