Replace magic numbers in linkerscripts by PAGE_SIZE
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 15 Nov 2017 11:45:35 +0000 (11:45 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 29 Nov 2017 12:09:52 +0000 (12:09 +0000)
commita2aedac221d36624ee1da27741b7f2a0daaa6345
tree09d59f674f7e74c67c4893b01c494918cb7b2d4b
parent3642ca951bfd06afbd8024b295ce3c14860024b3
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>
bl1/bl1.ld.S
bl2/bl2.ld.S
bl2u/bl2u.ld.S
bl31/bl31.ld.S
bl32/sp_min/sp_min.ld.S
bl32/tsp/tsp.ld.S
include/plat/arm/common/arm_common.ld.S
plat/mediatek/mt6795/bl31.ld.S
plat/rockchip/rk3399/include/plat.ld.S