Home | History | Annotate | Download | only in PortingGuide
      1 PciEmulation configuration
      2 --------------------------
      3 Installation of various NonDiscoverable devices via PciEmulation driver is performed
      4 via set of PCDs. Following are available:
      5 
      6  gMarvellTokenSpaceGuid.PcdPciEXhci
      7 
      8 Indicates, which Xhci devices are used.
      9 
     10  gMarvellTokenSpaceGuid.PcdPciEAhci
     11 
     12 Indicates, which Ahci devices are used.
     13 
     14  gMarvellTokenSpaceGuid.PcdPciESdhci
     15 
     16 Indicates, which Sdhci devices are used.
     17 
     18 All above PCD's correspond to hardware description in a dedicated structure:
     19 
     20 STATIC PCI_E_PLATFORM_DESC A70x0PlatDescTemplate
     21 
     22 in Platforms/Marvell/PciEmulation/PciEmulation.c file. It comprises device
     23 count, base addresses, register region size and DMA-coherency type.
     24 
     25 Examples
     26 --------
     27 Assuming we want to enable second XHCI port and one SDHCI port on Armada
     28 70x0 board, following needs to be declared:
     29 
     30   gMarvellTokenSpaceGuid.PcdPciEXhci|{ 0x0 0x1 }
     31   gMarvellTokenSpaceGuid.PcdPciESdhci|{ 0x1 }
     32