Correct UART PL011 initialization calculation
Currently for Armv7 plaforms the quotient calculated in pl011
uart init code is moved to register r1.

This patch moves the quotient to register r2 as done for other
platforms in the udiv instruction. Value of register r2 is then
used to calculate the values for IBRD and FBRD register

Change-Id: Ie6622f9f0e6d634378b471df5d02823b492c8a24
Signed-off-by: Avinash Mehta <>
1 parent 80003d8 commit 38d5e150edc82570e1a3e9dc2e95dce96e6fd94e
@Avinash Mehta Avinash Mehta authored on 8 Oct 2019
Showing 1 changed file