Searched hist:d4c61c38783dd8d43ca6a63ce5fbc64c9c812db9 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/arm/tzc/ |
| H A D | tzc400.c | d4c61c38783dd8d43ca6a63ce5fbc64c9c812db9 Wed May 13 10:51:49 UTC 2020 Heyi Guo <guoheyi@linux.alibaba.com> 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
|