• Alexei Fedorov's avatar
    SMMUv3: refactor the driver code · ccd4d475
    Alexei Fedorov authored
    
    
    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: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
    ccd4d475
smmu_v3.c 1.43 KB