diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-04-26 12:07:07 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2019-05-03 09:27:46 +0000 |
commit | ccd4d475ea8681464df8a3e7f55e902a0707c7e2 (patch) | |
tree | 022f499184ebb6b8dd084ed5fc9cfeca0033b7db /plat/arm | |
parent | 8917380a1eba4f7a499a4a51b75a0488a683d2c0 (diff) |
SMMUv3: refactor the driver code
This patch is a preparation for the subsequent changes in
SMMUv3 driver. It introduces a new "smmuv3_poll" function
and replaces inline functions for accessing SMMU registers
with mmio read/write operations. Also the infinite loop
for the poll has been replaced with a counter based timeout.
Change-Id: I7a0547beb1509601f253e126b1a7a6ab3b0307e7
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'plat/arm')
-rw-r--r-- | plat/arm/board/fvp/fvp_bl31_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/arm/board/fvp/fvp_bl31_setup.c b/plat/arm/board/fvp/fvp_bl31_setup.c index 7f28b202..3f92d377 100644 --- a/plat/arm/board/fvp/fvp_bl31_setup.c +++ b/plat/arm/board/fvp/fvp_bl31_setup.c @@ -34,7 +34,7 @@ void __init bl31_early_platform_setup2(u_register_t arg0, */ fvp_interconnect_enable(); - /* On FVP RevC, intialize SMMUv3 */ + /* On FVP RevC, initialize SMMUv3 */ if ((arm_config.flags & ARM_CONFIG_FVP_HAS_SMMUV3) != 0U) smmuv3_init(PLAT_FVP_SMMUV3_BASE); } |