summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2021-04-30 15:33:15 +0200
committerStefan Roese <sr@denx.de>2021-05-16 06:48:45 +0200
commit1fde894e793ebae10c6e43da68b90d5d9b47465e (patch)
treed067ac84f76a5b2a9d07c349c8606f93b1056788 /drivers/ddr/imx/imx8m/ddr_init.c
parent7d8e1651da96771f37bbfff84636ac4e34aecc30 (diff)
downloadu-boot-1fde894e793ebae10c6e43da68b90d5d9b47465e.tar.gz
u-boot-1fde894e793ebae10c6e43da68b90d5d9b47465e.tar.xz
u-boot-1fde894e793ebae10c6e43da68b90d5d9b47465e.zip
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: Marcin Wojtas <mw@semihalf.com> Reviewed-on: https://sj1git1.cavium.com/18136 Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Tested-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions