Replace magic numbers in linkerscripts by PAGE_SIZE
When defining different sections in linker scripts it is needed to align
them to multiples of the page size. In most linker scripts this is done
by aligning to the hardcoded value 4096 instead of PAGE_SIZE.

This may be confusing when taking a look at all the codebase, as 4096
is used in some parts that aren't meant to be a multiple of the page
size.

Change-Id: I36c6f461c7782437a58d13d37ec8b822a1663ec1
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 3642ca9 commit a2aedac221d36624ee1da27741b7f2a0daaa6345
@Antonio Nino Diaz Antonio Nino Diaz authored on 15 Nov 2017
Showing 9 changed files
View
bl1/bl1.ld.S
View
bl2/bl2.ld.S
View
bl2u/bl2u.ld.S
View
bl31/bl31.ld.S
View
bl32/sp_min/sp_min.ld.S
View
bl32/tsp/tsp.ld.S
View
include/plat/arm/common/arm_common.ld.S
View
plat/mediatek/mt6795/bl31.ld.S
View
plat/rockchip/rk3399/include/plat.ld.S