summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-07-08 20:18:58 +0200
committerStefan Roese <[email protected]>2021-07-15 10:53:05 +0200
commita83149509131b3c5cd1811f953cf96c213308eef (patch)
treed72f848e0de40a45ab9dac5a57aad1db09fc5bb3 /scripts
parentc11f5abce84f630c92304683d5bde3204c5612c4 (diff)
arm: a37xx: pci: Extend validation for PCIe resources and oubound windows
Remapped address of PCIe outbound window may have set only bits from the mask. Add additional check that remapped address which is calculated from PCIe bus address specified in DTS file is valid. Remove also useless clearing of low 16 bits in win_mask. As win_size is power of two and is at least 0x10000 it means that it always has zero low 16 bits. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Konstantin Porotchkin <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions