Skip to content
Snippets Groups Projects
Commit b81fa615 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Albert ARIBAUD
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#else /* !CONFIG_MMU */ #else /* !CONFIG_MMU */
.macro addruart_current, rx, tmp1, tmp2 .macro addruart_current, rx, tmp1, tmp2
addruart \rx, \tmp1 addruart \rx, \tmp1, \tmp2
.endm .endm
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment