Add P5021 and P5040 conditions for LAW count check.
P5040/P5021 have the same number of LAWs as P5020. There may be a better way of getting the count from the FDT (fsl,num-laws property on soc/corenet-law or soc/ecm-law), but that's not supported everywhere, so we still need this check for those other cases.
This commit is contained in:
parent
dc72081153
commit
c5fea8adf0
@ -96,6 +96,10 @@ law_getmax(void)
|
||||
break;
|
||||
case SVR_P5020:
|
||||
case SVR_P5020E:
|
||||
case SVR_P5021:
|
||||
case SVR_P5021E:
|
||||
case SVR_P5040:
|
||||
case SVR_P5040E:
|
||||
law_max = 32;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user