u-boot-brain/arch/arm
Chen-Yu Tsai a1274cc94a ARM: Page align secure section only when it is executed in situ
Targets that define CONFIG_ARMV7_SECURE_BASE will copy the secure section
to another address before execution.

Since the secure section in the u-boot image is only storage, there's
no reason to page align it and increase the binary image size.

Page align the secure section only when CONFIG_ARMV7_SECURE_BASE is not
defined. And instead of just aligning the __secure_start symbol, align
the whole .__secure_start section. This also makes the section empty,
so we need to add KEEP() to the input entry to prevent the section from
being garbage collected.

Also use ld constant "COMMONPAGESIZE" instead of hardcoded page size.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-07-15 15:54:57 +02:00
..
cpu ARM: Page align secure section only when it is executed in situ 2016-07-15 15:54:57 +02:00
dts sunxi: Add defconfig and dts file for the Orange Pi Lite SBC 2016-07-15 15:54:56 +02:00
imx-common common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
include sunxi: Use BROM stored boot_media value to determine our boot-source 2016-07-15 15:54:56 +02:00
lib ARM: move #ifdef to match the error handling code 2016-06-24 17:23:13 -04:00
mach-at91 arm: at91: taurus/axm: add DM and DTS support 2016-06-26 20:17:22 +02:00
mach-bcm283x rpi: remove redundant board files 2016-04-11 20:48:23 -04:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos ARM: exynos: Fix build error if SERIAL is disabled in SPL 2016-05-26 12:55:49 +09:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: k2g: Configure reset mux to device reset 2016-06-02 21:42:19 -04:00
mach-kirkwood configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
mach-meson board: amlogic: Rename folder for Amlogic boards 2016-06-24 17:23:09 -04:00
mach-mvebu common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rockchip rockchip: Use 'select' instead of defaults in Kconfig 2016-07-11 14:06:44 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
mach-socfpga common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-stm32 stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00
mach-sunxi sunxi: Use BROM stored boot_media value to determine our boot-source 2016-07-15 15:54:56 +02:00
mach-tegra ARM: PSCI: Split out common stack setup code from psci_arch_init 2016-07-15 15:54:56 +02:00
mach-uniphier ARM: uniphier: add external IRQ setup code 2016-07-02 05:44:30 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +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: clang: Update support slightly 2016-04-01 17:17:39 -04:00
Kconfig dm: mmc: rockchip: Enable CONFIG_DM_MMC_OPS for all boards 2016-07-11 14:06:44 -06:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: Treat arm946es as v5te 2016-06-02 21:21:34 -04:00