FVP: Do not map DEVICE2 memory range when TBB is disabled
The DEVICE2 memory range is needed to access the Root of Trust Public
Key registers. This is not needed when Trusted Board Boot is disabled
so it's safer to not map it in this case. This also saves one level-2
page table in each of BL1 and BL2 images.

Also add some comments.

Change-Id: I67456b44f3fd5e145f6510a8499b7fdf720a7273
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
1 parent 0350bc6 commit 284c3d67090586b20c7eed2955c05094dccff2e1
@Sandrine Bailleux Sandrine Bailleux authored on 26 May 2017
Showing 2 changed files
View
plat/arm/board/common/board_css_common.c
View
plat/arm/board/fvp/fvp_common.c