• Heyi Guo's avatar
    tzc400: adjust filter flag if it is set to FILTER_BIT_ALL · d4c61c38
    Heyi Guo authored
    
    
    TZC_400_REGION_ATTR_FILTER_BIT_ALL is a simple constant definition, so
    it can't get the real filter number to construct the bit flag for all
    existing filters. If the platform doesn't have 4 filters, passing
    FILTER_BIT_ALL to tzc400_configure_region() will cause assertion or
    misconfiguration. So adjust the bit flag against the real filter
    number.
    Signed-off-by: default avatarHeyi Guo <guoheyi@linux.alibaba.com>
    Change-Id: Ie5c48303485f3b5015772961ee7c34746121ee84
    d4c61c38
tzc400.c 6.78 KB