]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: pci: Add a function to clear and set PCI config regs
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:37 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:35 +0000 (13:57 +0800)
commite46d00c77cd5a756e8cf3fae3b34eaa9ec012f0d
tree58c30da507427e14050714578ca4338d82584424
parent1eeb55755f4d50a9954d17cbb6f98b3285a9b976
x86: pci: Add a function to clear and set PCI config regs

At present the x86 pre-DM equivalent of pci_bus_clrset_config32() does not
exist. Add it to simplify PCI init code on x86.

Also add the missing functions to this header.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/pci.c
arch/x86/include/asm/pci.h