• Yann Gautier's avatar
    stm32mp1: correct crash console GPIO alternate configuration · 4170079a
    Yann Gautier authored
    
    
    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: default avatarYann Gautier <yann.gautier@st.com>
    4170079a
stm32mp1_helper.S 6.64 KB