mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
arm: Drop CONFIG_MMU
This option does not exist, so the #ifdefs do nothing. Drop this code. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
449f11eb61
commit
9df5011e1e
@ -21,22 +21,10 @@
|
|||||||
#include CONFIG_DEBUG_LL_INCLUDE
|
#include CONFIG_DEBUG_LL_INCLUDE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MMU
|
|
||||||
.macro addruart_current, rx, tmp1, tmp2
|
|
||||||
addruart \tmp1, \tmp2, \rx
|
|
||||||
mrc p15, 0, \rx, c1, c0
|
|
||||||
tst \rx, #1
|
|
||||||
moveq \rx, \tmp1
|
|
||||||
movne \rx, \tmp2
|
|
||||||
.endm
|
|
||||||
|
|
||||||
#else /* !CONFIG_MMU */
|
|
||||||
.macro addruart_current, rx, tmp1, tmp2
|
.macro addruart_current, rx, tmp1, tmp2
|
||||||
addruart \rx, \tmp1, \tmp2
|
addruart \rx, \tmp1, \tmp2
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
#endif /* CONFIG_MMU */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Useful debugging routines
|
* Useful debugging routines
|
||||||
*/
|
*/
|
||||||
@ -97,15 +85,6 @@ ENTRY(printch)
|
|||||||
b 1b
|
b 1b
|
||||||
ENDPROC(printch)
|
ENDPROC(printch)
|
||||||
|
|
||||||
#ifdef CONFIG_MMU
|
|
||||||
ENTRY(debug_ll_addr)
|
|
||||||
addruart r2, r3, ip
|
|
||||||
str r2, [r0]
|
|
||||||
str r3, [r1]
|
|
||||||
mov pc, lr
|
|
||||||
ENDPROC(debug_ll_addr)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
ENTRY(printascii)
|
ENTRY(printascii)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user