arm-trusted-firmware/plat
Leonard Crestez 72196cbb66 plat: imx8mq: Implement IMX_SIP_GET_SOC_INFO
The manual documents that 0x3036006c should contains the soc revision
for imx8mq but this always reports A0. Work around this by parsing the
ROM header and checking if OCOTP register 0x40 is stuck at 0xff0055aa.

Determining this inside TF-A makes life easier for OS, see for example
this linux discussion: https://lkml.org/lkml/2019/5/3/465

The soc revision can also be useful inside TF-A itself, for example for
the non-upstream DDR DVFS "busfreq" feature is affected by 8mq erratas.

The clock for OCOTP block can be disabled by OS so only initialize soc
revision once at boot time.

Change-Id: I9ca3f27840229ce8a28b53870e44da29f63c73aa
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
2019-05-20 11:24:54 +03:00
..
allwinner plat: allwinner: common: use r_wdog instead of wdog 2019-04-11 01:57:24 +02:00
arm SMMUv3: Abort DMA transactions 2019-05-10 16:09:19 +01:00
common Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
hisilicon hikey: Add define for UART2 2019-04-26 16:58:03 +02:00
imx plat: imx8mq: Implement IMX_SIP_GET_SOC_INFO 2019-05-20 11:24:54 +03:00
intel/soc/stratix10 intel: Enable watchdog timer on Intel S10 platform 2019-03-21 10:35:24 +08:00
layerscape Console: remove deprecated finish_console_register 2019-04-03 14:55:18 +01:00
marvell plat: marvell: do not rely on argument passed via smc 2019-04-05 12:48:43 +02:00
mediatek Initialize platform for MediaTek mt8183 2019-05-10 10:30:17 +08:00
meson meson/gxl: Add tool to create bl31 bootable images 2019-04-02 16:33:59 +02:00
nvidia/tegra Makefile: remove extra include paths in INCLUDES 2019-04-03 15:30:46 +01:00
qemu Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
renesas/rcar rcar_gen3: plat: Update IPL and Secure Monitor Rev2.0.3 2019-04-11 12:57:04 +02:00
rockchip rockchip: Disable binary generation for all SoCs. 2019-05-02 12:27:19 +02:00
rpi3 Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
socionext Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
st stm32mp1: add OP-TEE support 2019-04-23 13:34:12 +02:00
ti/k3 ti: k3: common: Remove MSMC port definitions 2019-04-30 09:41:06 -04:00
xilinx Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00