]> git.baikalelectronics.ru Git - arm-tf.git/commit
SMMUv3: refactor the driver code
authorAlexei Fedorov <Alexei.Fedorov@arm.com>
Fri, 26 Apr 2019 11:07:07 +0000 (12:07 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Fri, 3 May 2019 09:27:46 +0000 (09:27 +0000)
commitccd4d475ea8681464df8a3e7f55e902a0707c7e2
tree022f499184ebb6b8dd084ed5fc9cfeca0033b7db
parent8917380a1eba4f7a499a4a51b75a0488a683d2c0
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>
drivers/arm/smmu/smmu_v3.c
include/drivers/arm/smmu_v3.h
plat/arm/board/fvp/fvp_bl31_setup.c