commit | 868007e11d3932a1e3a07162c4083622ee00271c | [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 | a0388f36cd19837fd688eaa731f85cb4bc367769 [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>