[U-Boot] [PATCH 049/126] x86: pci: Drop the first parameter in pci_x86_r/w_config()
Bin Meng
bmeng.cn at gmail.com
Mon Oct 7 12:26:52 UTC 2019
On Mon, Oct 7, 2019 at 8:24 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > This parameter is needed by the PCI driver-mode interface but is always
> > NULL on x86. There are a number of calls to this function so it makes
> > sense to minimise the parameters.
> >
> > Adjust the x86 function to omit the first parameter, and introduce stub
> > functions to handle the conversion.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > arch/x86/cpu/broadwell/cpu.c | 7 ++-----
> > arch/x86/cpu/intel_common/fast_spi.c | 3 +--
> > arch/x86/cpu/ivybridge/cpu.c | 3 +--
> > arch/x86/cpu/pci.c | 20 ++++++++------------
> > arch/x86/include/asm/pci.h | 15 ++++++---------
> > drivers/pci/pci_x86.c | 16 ++++++++++++++--
> > 6 files changed, 32 insertions(+), 32 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Rebased the patch against u-boot-x86/next to get it applied cleanly, and
applied to u-boot-x86/next, thanks!
More information about the U-Boot
mailing list