From: Ahmad Fatoum <ahmad@xxxxxx> The file is unreferenced anywhere and it doesn't differ from the default __barebox_arm_head anyway, except by two additional words with value 0x55555555, which shouldn't matter. It thus seems that the file wasn't needed when it was first added and it's surely not needed now as it has been unreferenced for more than a year. Fixes: d5c8bc3ff1a7 ("ARM: socfpga: add arria10 support") Cc: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx> --- include/mach/socfpga/barebox-arm-head.h | 37 ------------------------- 1 file changed, 37 deletions(-) delete mode 100644 include/mach/socfpga/barebox-arm-head.h diff --git a/include/mach/socfpga/barebox-arm-head.h b/include/mach/socfpga/barebox-arm-head.h deleted file mode 100644 index eff05b0e41fd..000000000000 --- a/include/mach/socfpga/barebox-arm-head.h +++ /dev/null @@ -1,37 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -static inline void __barebox_arm_head(void) -{ - __asm__ __volatile__ ( -#ifdef CONFIG_THUMB2_BAREBOX - ".arm\n" - "adr r9, 1f + 1\n" - "bx r9\n" - ".thumb\n" - "1:\n" - "bl 2f\n" - ".rept 10\n" - "1: b 1b\n" - ".endr\n" -#else - "b 2f\n" - "1: b 1b\n" - "1: b 1b\n" - "1: b 1b\n" - "1: b 1b\n" - "1: b 1b\n" - "1: b 1b\n" - "1: b 1b\n" -#endif - ".asciz \"barebox\"\n" - ".word _text\n" /* text base. If copied there, - * barebox can skip relocation - */ - ".word _barebox_image_size\n" /* image size to copy */ - - ".rept 10\n" - ".word 0x55555555\n" - ".endr\n" - "2:\n" - ); -} -- 2.39.2