]> git.baikalelectronics.ru Git - uboot.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)
commit490bfb1f7769ff9c9b6bbc18cd2974c30735b66b
tree58c30da507427e14050714578ca4338d82584424
parent193b6f5363a178d63ed99674c15a91b5b6b936c8
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