• Heyi Guo's avatar
    tzc400: fix logical error in FILTER_BIT definitions · 3d66ca6d
    Heyi Guo authored
    
    
    The filters parameter passed to tzc400_configure_region() is supposed
    to be filter bit flag without bit shift, so the macros
    TZC_400_REGION_ATTR_FILTER_BIT and TZC_400_REGION_ATTR_FILTER_BIT_ALL
    should always construct the value without any shift.
    
    It is not a functional issue for TZC_REGION_ATTR_F_EN_SHIFT is lucky
    to be 0.
    Signed-off-by: default avatarHeyi Guo <guoheyi@linux.alibaba.com>
    Change-Id: I5d363c462b8517256523f637e670eefa56722afd
    3d66ca6d
tzc400.h 4.25 KB