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>
1 parent 8917380 commit ccd4d475ea8681464df8a3e7f55e902a0707c7e2
@Alexei Fedorov Alexei Fedorov authored on 26 Apr 2019
Soby Mathew committed on 3 May 2019
Showing 3 changed files
View
drivers/arm/smmu/smmu_v3.c
View
include/drivers/arm/smmu_v3.h
View
plat/arm/board/fvp/fvp_bl31_setup.c