[U-Boot] [PATCH 0/6] x86: dm: pci: Convert to DM PCI on Intel Crown Bay

Bin Meng bmeng.cn at gmail.com
Sat Jul 18 18:20:01 CEST 2015


The existing driver model pci codes have several bugs when it comes
to a pci topology with more than 2 pci bridges, which is unfortunately
the case on the Intel Queensbay/Topcliff chipset.

With those fixes, now U-Boot can boot on the Intel Crown Bay board
with driver model pci enabled. Testing shows that 'pci' command could
discover all pci devices with their configuration space configured
correctly. So does the 'dm tree' command.


Bin Meng (6):
  Fix incorrect comments in linker_lists.h
  dm: pci: Correct primary/secondary/subordinate bus number assignment
  dm: pci: Use complete bdf in all pci config read/write routines
  dm: pci: Pass only device/function to pci_bus_find_devfn()
  dm: pci: Support bridge device configuration correctly
  x86: Convert to use driver model pci on queensbay/crownbay

 arch/x86/cpu/queensbay/Makefile  |  1 -
 arch/x86/cpu/queensbay/tnc.c     |  5 ---
 arch/x86/cpu/queensbay/tnc_pci.c | 46 ------------------------
 arch/x86/dts/crownbay.dts        |  6 +++-
 configs/crownbay_defconfig       |  1 +
 drivers/pci/pci-uclass.c         | 54 ++++++++++++++---------------
 drivers/pci/pci_auto.c           | 75 +++++++++++++++++++++++++++++++++-------
 drivers/pci/pci_common.c         |  7 +++-
 include/linker_lists.h           | 20 +++++------
 9 files changed, 110 insertions(+), 105 deletions(-)
 delete mode 100644 arch/x86/cpu/queensbay/tnc_pci.c

-- 
1.8.2.1



More information about the U-Boot mailing list