AMD AGESA: Fix comment for `PCIE_DDI_DATA_INITIALIZER`
Copied from a similar commit for Family 10h AGESA [1]
Remove the fourth argument in the comments. Luckily the compiler,
at least gcc, warns about a wrong number of arguments, and therefore
no incorrect code resulted from the wrong documentation.
[1] 07e0f1b
AMD AGESA: Fix argument list for `PCIE_DDI_DATA_INITIALIZER` in comments
[2] fc47bfa Revert "AMD f14 vendorcode: Fix warning"
Change-Id: I3806e368a823e4a40d22e99b91bf3598d9ed2f15
Signed-off-by: Bruce Griffith <bruce.griffith@se-eng.com>
Reviewed-on: http://review.coreboot.org/3840
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martin@se-eng.com>
This commit is contained in:
parent
5697df2a84
commit
cec611a0ea
|
@ -1305,13 +1305,13 @@ typedef struct {
|
||||||
* {
|
* {
|
||||||
* 0, //Descriptor flags
|
* 0, //Descriptor flags
|
||||||
* PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 24, 27),
|
* PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 24, 27),
|
||||||
* PCIE_DDI_DATA_INITIALIZER (ConnectorTypeDP, Aux1, Hdp1, 0)
|
* PCIE_DDI_DATA_INITIALIZER (ConnectorTypeDP, Aux1, Hdp1)
|
||||||
* },
|
* },
|
||||||
* // Initialize Ddi descriptor (DDI interface Lanes 28:31, HDMI, ...)
|
* // Initialize Ddi descriptor (DDI interface Lanes 28:31, HDMI, ...)
|
||||||
* {
|
* {
|
||||||
* DESCRIPTOR_TERMINATE_LIST, //Descriptor flags !!!IMPORTANT!!! Terminate last element of array
|
* DESCRIPTOR_TERMINATE_LIST, //Descriptor flags !!!IMPORTANT!!! Terminate last element of array
|
||||||
* PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 28, 31),
|
* PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 28, 31),
|
||||||
* PCIE_DDI_DATA_INITIALIZER (ConnectorTypeHDMI, Aux2, Hdp2, 0)
|
* PCIE_DDI_DATA_INITIALIZER (ConnectorTypeHDMI, Aux2, Hdp2)
|
||||||
* }
|
* }
|
||||||
* };
|
* };
|
||||||
* PCIe_COMPLEX_DESCRIPTOR PlatformTopology = {
|
* PCIe_COMPLEX_DESCRIPTOR PlatformTopology = {
|
||||||
|
|
Loading…
Reference in New Issue