u-boot-brain/arch/arm/cpu/armv8
Philipp Tomsich e6a0586277 armv8: move low-level assembly functions into function-sections
TPL builds today don't need to call into firmware or set up the MMU
(if this changes, it should be controlled through a config option
whether to include this or not), but include the needed support code
for this anyway.  By moving these unused low-level functions into
seperate function-sections, the linker can garbage-collect the unused
sections.

Note that (if DM support is enabled), there will be a call to the
cache-flushing code from alloc_priv(...) in drivers/core/device.c.
This then add 52 bytes of binary size (an increase from 20589 to 20641
bytes) compared to completely removing this code.

Even for a feature-rich TPL (including DM support as for the RK3368),
this equates to a size difference of significantly more than 10% in
TPL binary size.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-08-13 17:12:21 +02:00
..
fsl-layerscape Convert CONFIG_CMD_PCI to Kconfig 2017-08-11 15:41:50 -04:00
hisilicon hisilicon: hi6220: Add a hi6220 pinmux driver. 2015-08-12 20:48:00 -04:00
s32v234 armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
zynqmp arm64: zynqmp: Add Kconfig option for adding psu_init to binary 2017-08-02 09:11:52 +02:00
cache_v8.c arm: Support cache invalidate 2017-05-11 22:03:39 -04:00
cache.S armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
config.mk efi: arm: Add aarch64 EFI app support 2016-11-14 23:24:04 +01:00
cpu-dt.c arm: psci: make psci usable on single core socs 2017-04-24 09:07:12 -07:00
cpu.c armv8: add simple sdelay implementation 2017-01-04 16:37:41 +01:00
exceptions.S arm64: Allow exceptions to return 2016-03-15 21:30:10 -04:00
fwcall.c ARMv8: Add support for poweroff via PSCI 2017-06-05 14:13:12 -04:00
generic_timer.c arm: Correct signature for get_ticks() 2017-05-11 22:03:38 -04:00
Kconfig arm64: use psci reset on snapdragon 2017-07-06 16:17:13 -04:00
lowlevel_init.S armv8: add lowlevel_init.S 2017-01-04 16:37:40 +01:00
Makefile ARM: adjust arm-smccc code for use in U-Boot 2017-04-18 10:29:17 -04:00
psci.S ARMv8: Add basic PSCI framework 2016-12-15 11:57:44 -08:00
sec_firmware_asm.S ARMv8/sec_firmware: relocated and renamed the config FSL_PPA_ARMV8_PSCI 2017-01-18 09:39:51 -08:00
sec_firmware.c armv8: layerscape: Make U-Boot EL2 safe 2017-06-01 19:57:24 -07:00
smccc-call.S ARM: adjust arm-smccc code for use in U-Boot 2017-04-18 10:29:17 -04:00
spin_table_v8.S arm64: add better and more generic spin-table support 2016-07-14 18:22:16 -04:00
spin_table.c arm64: add better and more generic spin-table support 2016-07-14 18:22:16 -04:00
start.S armv8: layerscape: Make U-Boot EL2 safe 2017-06-01 19:57:24 -07:00
tlb.S armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
transition.S armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
u-boot-spl.lds arm64: Add NOLOAD attribute NOLOAD to .bss sections 2017-06-05 14:13:12 -04:00
u-boot.lds ARMv8: Add secure sections for PSCI text and data 2016-12-15 11:57:25 -08:00