u-boot/arch/arm/cpu
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
..
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 imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02: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 Convert CONFIG_CMD_PCI to Kconfig 2017-08-11 15:41:50 -04:00
armv7m armv7m: Fix larger builds 2017-06-05 14:13:14 -04:00
armv8 armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02: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