summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/lamar/OemCustomize.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-10 21:30:00 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-11 14:26:06 +0000
commite13bc1c12ce414307be780c30d2d22074a5fd2c5 (patch)
tree4301720f4e08acf502b61b4cbc0f7f27a7935ae9 /src/mainboard/amd/lamar/OemCustomize.c
parent8273e13a115289c48beb7366cf7a03ccd8b5e108 (diff)
mb/amd/lamar: Drop unmaintained ROMCC board
Remove unmaintained and unsupported old ROMCC board. This board wasn't hooked up for build. Change-Id: Iaa812dc66ddc14c24263a68e73115502ba5e2417 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39066 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/amd/lamar/OemCustomize.c')
-rw-r--r--src/mainboard/amd/lamar/OemCustomize.c133
1 files changed, 0 insertions, 133 deletions
diff --git a/src/mainboard/amd/lamar/OemCustomize.c b/src/mainboard/amd/lamar/OemCustomize.c
deleted file mode 100644
index 4c1832b154..0000000000
--- a/src/mainboard/amd/lamar/OemCustomize.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2012 Advanced Micro Devices, Inc.
- * 2013 - 2014 Sage Electronic Engineering, LLC
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <AGESA.h>
-
-
-static const PCIe_PORT_DESCRIPTOR PortList[] = {
-
- /*
- * Lanes to pins to PCI device mapping can be found in section 2.12 of the
- * BIOS and Kernel Developer's Guide for AMD Family 15h Models 30h-3Fh
- */
-
- { /* PCIe x16 Connector J119, DP4/5/6, GFX[15:0], Lanes [31:16], PCI 00:02.1 */
- 0,
- PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 16, 31),
- PCIE_PORT_DATA_INITIALIZER_V2(
- PortEnabled,
- ChannelTypeExt6db, 0, 0,
- HotplugDisabled,
- PcieGenMaxSupported,
- PcieGenMaxSupported,
- AspmDisabled,
- 175,
- 0
- )
- },
-
- { /* PCIe x4 Connector J118, GPP[3:0], Lanes [11:8], PCI 00:03.2 */
- 0,
- PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 8, 11),
- PCIE_PORT_DATA_INITIALIZER_V2(
- PortEnabled,
- ChannelTypeExt6db, 0, 0,
- HotplugDisabled,
- PcieGenMaxSupported,
- PcieGenMaxSupported,
- AspmDisabled,
- 176,
- 0
- )
- },
-
- { /* PCIe x4 Connector J120, GPP[7:4], Lanes [15:12] */
- DESCRIPTOR_TERMINATE_LIST,
- PCIE_ENGINE_DATA_INITIALIZER(
- CONFIG(ENABLE_DP3_DAUGHTER_CARD_IN_J120) ? PcieUnusedEngine : PciePortEngine,
- 12, 15
- ),
- PCIE_PORT_DATA_INITIALIZER_V2(
- PortEnabled,
- ChannelTypeExt6db, 0, 0,
- HotplugDisabled,
- PcieGenMaxSupported, PcieGenMaxSupported,
- AspmDisabled,
- 177,
- 0
- )
- },
-
-};
-
-static const PCIe_DDI_DESCRIPTOR DdiList[] = {
- { /* DP3 */
- 0,
- PCIE_ENGINE_DATA_INITIALIZER(
- CONFIG(ENABLE_DP3_DAUGHTER_CARD_IN_J120) ? PcieDdiEngine : PcieUnusedEngine,
- 12, 15
- ),
- PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux4, Hdp4)
- },
-
- { /* DP2 */
- 0,
- PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 36, 39),
- PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux3, Hdp3)
- },
-
- { /* DP1 */
- 0,
- PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 32, 35),
- PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux2, Hdp2)
- },
-
- { /* DP0 */
- DESCRIPTOR_TERMINATE_LIST,
- PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 4, 7),
- PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux1, Hdp1)
- },
-};
-
-static const PCIe_COMPLEX_DESCRIPTOR PcieComplex = {
- .Flags = DESCRIPTOR_TERMINATE_LIST,
- .SocketId = 0,
- .PciePortList = PortList,
- .DdiLinkList = DdiList
-};
-
-/*---------------------------------------------------------------------------------------*/
-/**
- * OemCustomizeInitEarly
- *
- * Description:
- * This stub function will call the host environment through the binary block
- * interface (call-out port) to provide a user hook opportunity
- *
- * Parameters:
- * @param[in] *InitEarly
- *
- * @retval VOID
- *
- **/
-/*---------------------------------------------------------------------------------------*/
-VOID
-OemCustomizeInitEarly (
- IN OUT AMD_EARLY_PARAMS *InitEarly
- )
-{
- InitEarly->GnbConfig.PcieComplexList = &PcieComplex;
-}