Bin Meng 7365a03804 pci: fsl_pci_init: Dynamically allocate the PCI regions
Commit e002474158d1 ("pci: pci-uclass: Dynamically allocate the PCI regions")
changes 'struct pci_controller'.regions from pre-allocated array of
regions to dynamically allocated, which unfortunately broken lots of
boards that still use the non-DM PCI driver.

This patch changes the non-DM fsl_pci_init driver to dynamically
allocate the regions, just like what's done in the pci uclass driver.

Fixes: e002474158d1 ("pci: pci-uclass: Dynamically allocate the PCI regions")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-03-05 10:25:42 +05:30
..
2021-02-23 10:45:55 -05:00
2021-02-07 19:22:54 +01:00
2021-02-23 10:45:55 -05:00
2021-02-23 10:45:55 -05:00
2021-03-03 10:10:34 -05:00
2021-02-24 16:51:49 -05:00
2021-01-05 16:20:26 -05:00
2021-02-26 15:09:38 +05:30
2021-01-23 11:30:31 +01:00
2021-02-23 10:45:55 -05:00
2020-11-06 10:18:20 +08:00