[PATCH] arm: Drop unused __XSCALE__ section
Marek Vasut
marek.vasut+renesas at mailbox.org
Mon Mar 16 00:53:05 CET 2026
The code in the __XSCALE__ section is unused, since there is no more
XScale support in U-Boot. Remove the stale code. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
arch/arm/lib/relocate.S | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S
index bffadfecba1..6ee58f4edfe 100644
--- a/arch/arm/lib/relocate.S
+++ b/arch/arm/lib/relocate.S
@@ -114,16 +114,6 @@ fixnext:
blo fixloop
relocate_done:
-
-#ifdef __XSCALE__
- /*
- * On xscale, icache must be invalidated and write buffers drained,
- * even with cache disabled - 4.2.7 of xscale core developer's manual
- */
- mcr p15, 0, r0, c7, c7, 0 /* invalidate icache */
- mcr p15, 0, r0, c7, c10, 4 /* drain write buffer */
-#endif
-
ret lr
ENDPROC(relocate_code)
--
2.51.0
More information about the U-Boot
mailing list