aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2020-02-25 17:51:52 +0100
committerYann Gautier <yann.gautier@st.com>2020-09-21 17:53:42 +0200
commit4170079ae05a962a43962f426815e12d516fb3f9 (patch)
tree98cc2539c3b98ede1b0e2b27d12171ae61bcef13 /include/drivers
parent6397423ed4a08adea3605f60a168a34c2a7ec526 (diff)
downloadtrusted-firmware-a-4170079ae05a962a43962f426815e12d516fb3f9.tar.gz
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>
Diffstat (limited to 'include/drivers')
0 files changed, 0 insertions, 0 deletions