From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Mon, 7 Oct 2019 20:24:24 +0800 Subject: [U-Boot] [PATCH 049/126] x86: pci: Drop the first parameter in pci_x86_r/w_config() In-Reply-To: <20190925145750.200592-50-sjg@chromium.org> References: <20190925145750.200592-1-sjg@chromium.org> <20190925145750.200592-50-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Sep 25, 2019 at 10:58 PM Simon Glass 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 > --- > > 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