]> git.baikalelectronics.ru Git - arm-tf.git/commit
Tegra194: add redundancy checks for MMIO writes
authorAnthony Zhou <anzhou@nvidia.com>
Wed, 13 Nov 2019 10:36:07 +0000 (18:36 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 28 Aug 2020 03:12:34 +0000 (20:12 -0700)
commit2561cb50f163e8c47b02dc9d9e66405823045660
tree41b01618960186ceeb24c71b7eaa06265632e114
parenta69a11124b2ffcfa164ba3d0c034b8357746397b
Tegra194: add redundancy checks for MMIO writes

MMIO writes should verify that the writes actually went through.
Read the value back after the write operation, perform assert
if the read back value is not same as the write value.

Change-Id: Id2ceb014116f3aa6a9e86505ca1ae9911470a679
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
plat/nvidia/tegra/drivers/memctrl/memctrl_v2.c
plat/nvidia/tegra/include/drivers/memctrl_v2.h
plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
plat/nvidia/tegra/soc/t194/plat_secondary.c
plat/nvidia/tegra/soc/t194/plat_setup.c