[PATCH u-boot-next 08/12] pci: mediatek: Use PCI_CONF1_EXT_ADDRESS() macro

Simon Glass sjg at chromium.org
Tue Dec 28 09:32:13 CET 2021


On Fri, 26 Nov 2021 at 03:43, Pali Rohár <pali at kernel.org> wrote:
>
> PCI mediatek driver uses extended format of Config Address for PCI
> Configuration Mechanism #1 but with cleared Enable bit.
>
> So use new U-Boot macro PCI_CONF1_EXT_ADDRESS() with clearing
> PCI_CONF1_ENABLE bit and remove old custom driver address macros.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
>  drivers/pci/pcie_mediatek.c | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list