Commit b81fa615 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Albert ARIBAUD

arm: debug: adjust for U-Boot

Because CONFIG_MMU is never defined in U-Boot,
the non-MMU code in debug.S is always used.

Unfortunately, the number of arguments of the addruart macro
in Linux is different between MMU and non-MMU.
This causes a build error when importing some debug macros
using the third argument. (For ex. arch/arm/include/debug/exynos.S)
Pass the third argument to the non-MMU addruart to avoid such a problem.
Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
parent 51b17d49
......@@ -33,7 +33,7 @@
#else /* !CONFIG_MMU */
.macro addruart_current, rx, tmp1, tmp2
addruart \rx, \tmp1
addruart \rx, \tmp1, \tmp2
.endm
#endif /* CONFIG_MMU */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment