Skip to content
Commit 1fde894e authored by Marcin Wojtas's avatar Marcin Wojtas Committed by Stefan Roese
Browse files

pcie: designware: mvebu: do not configure ATU for IO when not used



The pcie_dw_mvebu configure ATU regions for memory, configuration
and IO space types. However the latter is not obligatory
and when not specified in the device tree, causes wrong
ATU configuration. Fix that by adding a dependency on the
detected PCIE regions count.

Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
Reviewed-on: https://sj1git1.cavium.com/18136


Reviewed-by: default avatarKostya Porotchkin <kostap@marvell.com>
Tested-by: default avatarKostya Porotchkin <kostap@marvell.com>
parent 7d8e1651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment