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