diff options
author | Heyi Guo <guoheyi@linux.alibaba.com> | 2020-05-13 18:51:49 +0800 |
---|---|---|
committer | Heyi Guo <guoheyi@linux.alibaba.com> | 2021-02-09 10:52:49 +0800 |
commit | d4c61c38783dd8d43ca6a63ce5fbc64c9c812db9 (patch) | |
tree | 7c660c841c92f699e75ba4484b4a28ef29cf1ed2 /include/drivers | |
parent | 3d66ca6d8cf35f198d637f8fda233601fcfb04d7 (diff) | |
download | trusted-firmware-a-d4c61c38783dd8d43ca6a63ce5fbc64c9c812db9.tar.gz |
tzc400: adjust filter flag if it is set to FILTER_BIT_ALL
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: Heyi Guo <guoheyi@linux.alibaba.com>
Change-Id: Ie5c48303485f3b5015772961ee7c34746121ee84
Diffstat (limited to 'include/drivers')
0 files changed, 0 insertions, 0 deletions