u-boot-brain/arch/arm
Andre Przywara 1416e2d225 armv8: make SPL exception vectors optional
Even though the exception vector table is a fundamental part of the ARM
architecture, U-Boot mostly does not make real use of it, except when
crash dumping. But having it in takes up quite some space, partly due to
the architectural alignment requirement of 2KB. Since we don't take special
care of that, the compiler adds a more or less random amount of padding
space, which increases the image size quite a bit, especially for the SPL.

On a typical Allwinner build this is around 1.5KB of padding, plus 1KB
for the vector table (mostly padding space again), then some extra code
to do the actual handling. This amounts to almost 10% of the maximum image
size, which is quite a lot for a pure debugging feature.

Add a Kconfig symbol to allow the exception vector table to be left out
of the build for the SPL.
For now this is "default y" for everyone, but specific defconfigs,
platforms or .config files can opt out here at will, to mitigate the code
size pressure we see for some SPLs.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2018-08-03 19:53:54 -04:00
..
cpu armv8: make SPL exception vectors optional 2018-08-03 19:53:54 -04:00
dts binman: Rename 'position' to 'offset' 2018-08-01 16:30:06 -06:00
include Merge git://git.denx.de/u-boot-fsl-qoriq 2018-07-27 13:09:30 -04:00
lib ARM: PSCI: Enable the PSCI node 2018-07-26 13:15:30 -07:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 dm: Change CMD_DM enabling 2018-07-30 07:18:48 -04:00
mach-bcm283x efi_loader: Convert runtime reset from switch to if statements 2018-06-14 10:52:14 +02:00
mach-bcmstb board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00
mach-davinci Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-exynos Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx dm: Fix CMD_DM enabling 2018-07-31 14:46:22 -04:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-keystone SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-kirkwood ARM: add SBx81LIFKW board 2018-06-05 07:29:09 +02:00
mach-meson dm: Change CMD_DM enabling 2018-07-30 07:18:48 -04:00
mach-mvebu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-omap2 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-orion5x ARM: orion5x: fix use of callee-saved registers in lowloevel_init 2018-06-07 09:12:26 -04:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile dm: Change CMD_DM enabling 2018-07-30 07:18:48 -04:00
mach-rockchip Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-s5pc1xx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-snapdragon mach-snapdragon: increase size of malloc pool 2018-05-29 11:01:37 -04:00
mach-socfpga Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-stm32mp stm32mp1: activate MISC support in SPL 2018-07-20 15:55:05 -04:00
mach-sunxi dm: sunxi: Use DM for MMC and SATA on all A10 boards 2018-07-16 12:26:00 +05:30
mach-tegra ARM: tegra: align carveout size 2018-08-01 20:06:10 -04:00
mach-uniphier Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig dm: Change CMD_DM enabling 2018-07-30 07:18:48 -04:00
Kconfig.debug
Makefile board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00