amlogic: scpi: Add support to retrieve chip ID
authorCarlo Caione <ccaione@baylibre.com>
Mon, 16 Sep 2019 11:13:49 +0000 (12:13 +0100)
committerCarlo Caione <ccaione@baylibre.com>
Tue, 17 Sep 2019 12:11:50 +0000 (13:11 +0100)
commit5cfdfc3c6200e1db3c635341e0a923a1ee9d14d8
tree4905610ced207fe471b2599d392af07b9cbe91e6
parent6129e9a643274e658a0e6f5428ad976676c7bb7a
amlogic: scpi: Add support to retrieve chip ID

Both kernel and U-Boot use a SMC call to the secure monitor to get the
chip ID. This call is translated by BL31 to a call to the SCP to
retrieve the ID. Add a new SiP call and the backing SCPI command.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Change-Id: Ib128f5645ee92866e7ebbcd550dacd33f573524b
plat/amlogic/common/aml_scpi.c
plat/amlogic/common/aml_sip_svc.c
plat/amlogic/common/include/aml_private.h
plat/amlogic/gxbb/gxbb_def.h
plat/amlogic/gxl/gxl_def.h