ARM: EXYNOS4: Fix addruart macro
Fix incorrect conditional execution of ldr instructions in addruart macro. Signed-off-by: Thomas Abraham <thomas.abraham@samsung.com> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
1af3c67212
commit
b9ab19f936
|
@ -21,8 +21,8 @@
|
|||
*/
|
||||
|
||||
.macro addruart, rp, rv
|
||||
ldreq \rp, = S3C_PA_UART
|
||||
ldrne \rv, = S3C_VA_UART
|
||||
ldr \rp, = S3C_PA_UART
|
||||
ldr \rv, = S3C_VA_UART
|
||||
#if CONFIG_DEBUG_S3C_UART != 0
|
||||
add \rp, \rp, #(0x10000 * CONFIG_DEBUG_S3C_UART)
|
||||
add \rv, \rv, #(0x10000 * CONFIG_DEBUG_S3C_UART)
|
||||
|
|
Loading…
Reference in a new issue