u-boot-brain/arch/arm
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
..
cpu armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
dts board: usb_a9263: Update to support DT and DM 2017-08-04 20:38:38 -04:00
include spl: add a 'return to bootrom' boot method 2017-08-13 17:12:19 +02:00
lib Revert "armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel" 2017-06-29 21:18:48 -04:00
mach-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
mach-at91 board: at91sam9261ek: Update to support DT and DM 2017-08-04 20:38:35 -04:00
mach-bcm283x bcm2835_wdt: support for the BCM2835/2836 watchdog 2017-05-09 20:30:08 -04:00
mach-davinci common: arm: davinci: Move header file out of common 2017-06-05 12:31:23 -04:00
mach-exynos Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig 2017-07-25 21:08:01 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-imx Convert CONFIG_CMD_SPL to Kconfig 2017-08-11 15:41:57 -04:00
mach-integrator Convert CONFIG_ENV_IS_IN_FLASH to Kconfig 2017-07-25 21:20:02 -04:00
mach-keystone arm: mach-keystone: Fixes issue with return values in inline assembly 2017-07-26 11:26:52 -04:00
mach-kirkwood Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
mach-meson meson-gx: reserved memory regions 2017-07-22 15:36:18 -04:00
mach-mvebu configs: Finish migration of PHY_GIGE 2017-08-08 17:02:31 -04:00
mach-omap2 arm: omap: Fix 'get_device_type()' for OMAP34XX 2017-08-12 18:56:26 -04:00
mach-orion5x board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-rmobile ARM: rmobile: ulcb: Add ULCB board support 2017-08-03 03:50:03 +09:00
mach-rockchip rockchip: back-to-bootrom: simplify the #ifdef-check for LIBCOMMON in TPL/SPL 2017-08-13 17:12:19 +02:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-socfpga arm: socfpga: Add FPGA driver support for Arria 10 2017-07-26 10:31:44 +02:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 stmf32f4: soc: fix buildman compilation error 2017-08-04 20:38:38 -04:00
mach-sunxi Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig 2017-07-25 21:08:01 -04:00
mach-tegra dm: power: Convert as3722 to driver model 2017-07-28 12:02:47 -06:00
mach-uniphier Convert CONFIG_NAND to Kconfig 2017-08-12 09:18:47 -04:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: Add EFI runtime sections to linker script 2017-08-02 09:11:51 +02:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk arm: Always keep the dtb section on objcopy 2017-06-05 14:13:11 -04:00
Kconfig Convert CONFIG_NAND to Kconfig 2017-08-12 09:18:47 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00