]> git.baikalelectronics.ru Git - uboot.git/commit
pci: mpc85xx: Wrap LAW programming with CONFIG_FSL_LAW
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:40 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
commit5ed90fffa3018bb26f0a062753b7c8c2ccbba57f
treea9babd20e56d904a4ce3169681d9b01044067953
parente69e1bf2c57d30a012d2c39379bdbfb4c36d9e7a
pci: mpc85xx: Wrap LAW programming with CONFIG_FSL_LAW

For the QEMU ppce500 machine, LAW registers are not implemented
hence CONFIG_FSL_LAW is not turned on and all LAW APIs are not
available. We should wrap all LAW registers programming in the
mpc85xx PCI driver with CONFIG_FSL_LAW.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/pci/pci_mpc85xx.c