Searched hist:"38 d5e150edc82570e1a3e9dc2e95dce96e6fd94e" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/arm/pl011/aarch32/ |
| H A D | pl011_console.S | 38d5e150edc82570e1a3e9dc2e95dce96e6fd94e Tue Oct 08 11:09:04 UTC 2019 Avinash Mehta <avinash.mehta@arm.com> 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 <avinash.mehta@arm.com>
|