commit | 6b4a5f04ae30457a821f5c6d9146ed51c1d0fc05 | [log] [tgz] |
---|---|---|
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | Fri Apr 26 12:07:07 2019 +0100 |
committer | Soby Mathew <soby.mathew@arm.com> | Fri May 03 09:27:46 2019 +0000 |
tree | 022f499184ebb6b8dd084ed5fc9cfeca0033b7db | |
parent | 0f57044bbd4e394252f8faa989aed615055eacc3 [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>