arm-trusted-firmware/plat/marvell
Grzegorz Jaszczyk b143fa7491 plat: marvell: sip: make sure that comphy init will use correct address
The argument passed via x1 is used as a base address for comphy related
routines. Nevertheless validation of this address wasn't good enough and
allowed some non comphy related addresses to slip over.

To overcome this issue make sure that the address passed via SMC points
to valid CP range and allow to proceed comphy initializations only with
correct comphy offset.

This could be fixed in a different way e.g. by passing CP id from the
caller, but since this API is already used with various Linux, U-Boot
and UEFI versions it can't be changed.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Change-Id: Ia74dbc36efcfbefc4a102d31191e6af5808c4a82
2019-04-05 12:48:40 +02:00
..
a8k Remove unneeded include paths in PLAT_INCLUDES 2019-02-01 12:24:57 +00:00
a3700 Remove unneeded include paths in PLAT_INCLUDES 2019-02-01 12:24:57 +00:00
common plat: marvell: sip: make sure that comphy init will use correct address 2019-04-05 12:48:40 +02:00
marvell.mk plat: marvell: Add support for Armada-37xx SoC platform 2018-10-31 18:01:09 +02:00
version.mk plat/marvell: update platform LSP version to 18.12.0 2018-12-04 14:09:44 +02:00