[PATCH u-boot-next 04/12] pci: msc01: Use PCI_CONF1_ADDRESS() macro

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


On Fri, 26 Nov 2021 at 03:43, Pali Rohár <pali at kernel.org> wrote:
>
> PCI msc01 driver uses standard format of Config Address for PCI
> Configuration Mechanism #1 but with cleared Enable bit.
>
> So use new U-Boot macro PCI_CONF1_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/pci_msc01.c | 7 ++-----
>  include/msc01.h         | 9 ---------
>  2 files changed, 2 insertions(+), 14 deletions(-)

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


More information about the U-Boot mailing list