u-boot/arch/arm/cpu
Andre Przywara 78ad457b2d armv8: shrink exception table code
In the moment our exception entry code needs 34 instructions, so we
can't use put it directly into the table entry, which offers "only"
32 instructions there. Right now we just put an unconditional branch
there, then use a macro to place the 34 instructions *per entry* after
that. That effectivly doubles the size of our exception table, which
is quite a waste, given that we use it mostly for debugging purposes.

Since the register saving part is actually identical, let's just convert
that macro into a function, and "bl" into it directly from the exception
slot, of course after having saved at least the original LR.
This saves us about 950 bytes of code, which is quite a relief for some
tight SPLs, in particular the 64-bit Allwinner ones.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2017-12-04 09:59:02 -05:00
..
arm11 ARM: Move SYS_CACHELINE_SIZE over to Kconfig 2016-08-26 17:04:46 -04:00
arm720t arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY 2017-06-09 13:39:31 -06:00
arm920t common: ep93xx: Move arch-specific declarations out of common 2017-06-05 12:31:22 -04:00
arm926ejs arch/arm/cpu/arm926ejs/spear/cpu.c: guard do_switch_ecc() with CONFIG_NAND_FSMC 2017-08-26 14:56:10 -04:00
arm946es arm: Allow skipping of low-level init with I-cache on 2016-06-12 23:49:38 +02:00
arm1136 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
arm1176 arm: add save_boot_params for ARM1176 2016-11-21 14:07:31 -05:00
armv7 arm: mark save_boot_params_ret as a function 2017-11-21 23:57:22 +01:00
armv7m stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
armv8 armv8: shrink exception table code 2017-12-04 09:59:02 -05:00
pxa arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD 2017-03-18 20:28:01 -04:00
sa1100 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
u-boot-spl.lds spl: arm: Make sure to include all of the u_boot_list entries 2016-03-16 15:27:55 -04:00
u-boot.lds Revert "ARM: fixed relocation using proper alignment" 2017-06-14 09:13:21 -04:00