diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-01 13:19:43 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-07 14:33:48 -0500 |
commit | 9df5011e1e7c75a1a58928be7c8613214af2894c (patch) | |
tree | 8bbc079969cfa35e5bd4744d311a9920952984ef /arch | |
parent | 449f11eb611b9c69f04a57b623863aab2734e0c3 (diff) | |
download | u-boot-9df5011e1e7c75a1a58928be7c8613214af2894c.tar.gz u-boot-9df5011e1e7c75a1a58928be7c8613214af2894c.tar.bz2 u-boot-9df5011e1e7c75a1a58928be7c8613214af2894c.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/debug.S | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/lib/debug.S b/arch/arm/lib/debug.S index 5983f2c04c..af4beb4d9d 100644 --- a/arch/arm/lib/debug.S +++ b/arch/arm/lib/debug.S @@ -21,22 +21,10 @@ #include CONFIG_DEBUG_LL_INCLUDE #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 addruart \rx, \tmp1, \tmp2 .endm -#endif /* CONFIG_MMU */ - /* * Useful debugging routines */ @@ -97,15 +85,6 @@ ENTRY(printch) b 1b 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 ENTRY(printascii) |