From e20405860790d344035464e29e0eb237b42284ea Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 16 Mar 2026 00:53:05 +0100 Subject: [PATCH] arm: Drop unused __XSCALE__ section 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 --- 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)