diff options
author | Soby Mathew <soby.mathew@arm.com> | 2017-06-13 18:00:53 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2017-07-20 18:08:12 +0100 |
commit | 1ea63d77a186a7aff8fb25b9f0a09e22501c8cb0 (patch) | |
tree | 1deece80fb52146d9aa579c93f123a14c25635f1 /drivers/arm/ccn/ccn.c | |
parent | 74d44a49f89efc02decda22d075276a8a763be45 (diff) |
CSS: Prevent SCP_BL2/2U from overwriting BL1 RW data
On ARM CSS platforms, the SCP_BL2/2U image is loaded below
BL1 read-write data. This same memory is used to load BL31
later on. But sufficient checks were not done to ensure that the
SCP_BL2 would not overwrite BL1 rw data. This patch adds the
required CASSERT checks to prevent overwrite into BL1 or BL2
memory by load of SCP_BL2/2U. Also the size of BL31 is increased
and SCP_BL2/2U size is decreased to accomodate it within the
allocated region.
Change-Id: I23b28b5e1589e91150852a06452bd52b273216ee
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions