commit | 4170079ae05a962a43962f426815e12d516fb3f9 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Tue Feb 25 17:51:52 2020 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Sep 21 17:53:42 2020 +0200 |
tree | 98cc2539c3b98ede1b0e2b27d12171ae61bcef13 | |
parent | 6397423ed4a08adea3605f60a168a34c2a7ec526 [diff] |
stm32mp1: correct crash console GPIO alternate configuration If GPIO port for UART TX is less than 8, the register GPIO_AFRL should be used to set the alternate. GPIO_AFRH is used if GPIO port is greater or equal to 8. The macro GPIO_TX_ALT_SHIFT is removed and the GPIO port number is tested against GPIO_ALT_LOWER_LIMIT (=8) in plat_crash_console_init() function. Change-Id: Ibb62223ed6bce589bbcab59a5e986b2677e6d118 Signed-off-by: Yann Gautier <yann.gautier@st.com>