summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorFrank.Vibrans <frank.vibrans@amd.com>2011-03-17 22:19:45 +0000
committerMarc Jones <marc.jones@amd.com>2011-03-17 22:19:45 +0000
commit9c2fb60bfc463906ef07933d5b60f5c5b989a29c (patch)
treef497f88b9d35649b66b9b85ac26396d57c4a7781 /src/vendorcode
parentea1c0a714d3916aafd053e22b76ca90dfbdad199 (diff)
downloadcoreboot-9c2fb60bfc463906ef07933d5b60f5c5b989a29c.tar.xz
Perform cleanup and file shrinkage of the AMD AGESA code.
Signed-off-by: Frank.Vibrans <frank.vibrans@amd.com> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6452 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B_Unenc.c1461
-rw-r--r--src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A_Unenc.c1461
-rw-r--r--src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch05000025_Unenc.c1461
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/Gfx/Family/0x14/F14GfxServices.c6
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/Gfx/GfxStrapsInit.c9
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c6
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c6
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c23
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c6
-rw-r--r--src/vendorcode/amd/agesa/Proc/GNB/PCIe/PcieInit.c12
10 files changed, 25 insertions, 4426 deletions
diff --git a/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B_Unenc.c b/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B_Unenc.c
deleted file mode 100644
index 463477f03c..0000000000
--- a/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500000B_Unenc.c
+++ /dev/null
@@ -1,1461 +0,0 @@
-/* $NoKeywords:$ */
-/**
- * @file
- *
- * AMD Family_14 Microcode patch.
- *
- * Fam14 Microcode Patch rev 0500000B for 5800 or equivalent.
- *
- * @xrefitem bom "File Content Label" "Release Content"
- * @e project: AGESA
- * @e sub-project: CPU/FAMILY/0x14
- * @e \$Revision: 34897 $ @e \$Date: 2010-07-14 10:07:10 +0800 (Wed, 14 Jul 2010) $
- *
- */
-/*
- *****************************************************************************
- *
- * Copyright (c) 2011, Advanced Micro Devices, Inc.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Advanced Micro Devices, Inc. nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * ***************************************************************************
- *
- */
-/*----------------------------------------------------------------------------------------
- * M O D U L E S U S E D
- *----------------------------------------------------------------------------------------
- */
-#include "AGESA.h"
-#include "cpuRegisters.h"
-#include "cpuEarlyInit.h"
-
-/*----------------------------------------------------------------------------------------
- * D E F I N I T I O N S A N D M A C R O S
- *----------------------------------------------------------------------------------------
- */
-
-/*----------------------------------------------------------------------------------------
- * T Y P E D E F S A N D S T R U C T U R E S
- *----------------------------------------------------------------------------------------
- */
-
-// Patch code 0500000B for 5800 and equivalent
-CONST MICROCODE_PATCHES ROMDATA CpuF14MicrocodePatch0500000B_Unenc =
-{
-0x10,
-0x20,
-0x01,
-0x06,
-0x0b,
-0x00,
-0x00,
-0x05,
-0x01,
-0x80,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x58,
-0x00,
-0x00,
-0x00,
-0xaa,
-0xaa,
-0xaa,
-0x92,
-0x5d,
-0x61,
-0xc8,
-0x0d,
-0xcf,
-0xa5,
-0xe3,
-0x00,
-0x00,
-0x00,
-0x00,
-0x0b,
-0x00,
-0x00,
-0x05,
-0x56,
-0x19,
-0x47,
-0x10,
-0xde,
-0x06,
-0xcf,
-0x01,
-0xaf,
-0x0f,
-0xee,
-0x06,
-0xac,
-0x17,
-0xd9,
-0x06,
-0x80,
-0x17,
-0xc0,
-0x0b,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xae,
-0x38,
-0x00,
-0x80,
-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,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00
-};
-
-/*----------------------------------------------------------------------------------------
- * P R O T O T Y P E S O F L O C A L F U N C T I O N S
- *----------------------------------------------------------------------------------------
- */
-
-/*----------------------------------------------------------------------------------------
- * E X P O R T E D F U N C T I O N S
- *----------------------------------------------------------------------------------------
- */
diff --git a/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A_Unenc.c b/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A_Unenc.c
deleted file mode 100644
index 8aafa801a9..0000000000
--- a/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch0500001A_Unenc.c
+++ /dev/null
@@ -1,1461 +0,0 @@
-/* $NoKeywords:$ */
-/**
- * @file
- *
- * AMD Family_14 Microcode patch.
- *
- * Fam14 Microcode Patch rev 0500001A for 5801 or equivalent.
- *
- * @xrefitem bom "File Content Label" "Release Content"
- * @e project: AGESA
- * @e sub-project: CPU/FAMILY/0x14
- * @e \$Revision: 37850 $ @e \$Date: 2010-09-13 18:09:57 -0400 (Mon, 13 Sep 2010) $
- *
- */
-/*
- *****************************************************************************
- *
- * Copyright (c) 2011, Advanced Micro Devices, Inc.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Advanced Micro Devices, Inc. nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * ***************************************************************************
- *
- */
-/*----------------------------------------------------------------------------------------
- * M O D U L E S U S E D
- *----------------------------------------------------------------------------------------
- */
-#include "AGESA.h"
-#include "cpuRegisters.h"
-#include "cpuEarlyInit.h"
-
-/*----------------------------------------------------------------------------------------
- * D E F I N I T I O N S A N D M A C R O S
- *----------------------------------------------------------------------------------------
- */
-
-/*----------------------------------------------------------------------------------------
- * T Y P E D E F S A N D S T R U C T U R E S
- *----------------------------------------------------------------------------------------
- */
-
-// Patch code 0500001A for 5801 and equivalent
-CONST MICROCODE_PATCHES ROMDATA CpuF14MicrocodePatch0500001A_Unenc =
-{
-0x10,
-0x20,
-0x08,
-0x09,
-0x1a,
-0x00,
-0x00,
-0x05,
-0x01,
-0x80,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x01,
-0x58,
-0x00,
-0x00,
-0x00,
-0xaa,
-0xaa,
-0xaa,
-0x73,
-0xea,
-0xd6,
-0xce,
-0x81,
-0x73,
-0xeb,
-0x17,
-0x00,
-0x00,
-0x00,
-0x00,
-0x1a,
-0x00,
-0x00,
-0x05,
-0xa3,
-0x0c,
-0x16,
-0x11,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xae,
-0x38,
-0x00,
-0x80,
-0x00,
-0x00,
-0x00,
-0x00,
-0xff,
-0x38,
-0x00,
-0x80,
-0x00,
-0x18,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0xff,
-0x81,
-0x73,
-0xc0,
-0xa1,
-0x9f,
-0xc9,
-0xe7,
-0xbf,
-0x81,
-0x33,
-0xc0,
-0xa1,
-0x9f,
-0xc9,
-0xe7,
-0x1f,
-0xa0,
-0x06,
-0x00,
-0xff,
-0x01,
-0x7d,
-0xc0,
-0xc1,
-0x9f,
-0xc9,
-0xeb,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x03,
-0x00,
-0xff,
-0xfe,
-0xff,
-0x00,
-0xe1,
-0xdb,
-0xcb,
-0xfe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,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00
-};
-
-/*----------------------------------------------------------------------------------------
- * P R O T O T Y P E S O F L O C A L F U N C T I O N S
- *----------------------------------------------------------------------------------------
- */
-
-/*----------------------------------------------------------------------------------------
- * E X P O R T E D F U N C T I O N S
- *----------------------------------------------------------------------------------------
- */
diff --git a/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch05000025_Unenc.c b/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch05000025_Unenc.c
deleted file mode 100644
index 059676a77e..0000000000
--- a/src/vendorcode/amd/agesa/Proc/CPU/Family/0x14/F14MicrocodePatch05000025_Unenc.c
+++ /dev/null
@@ -1,1461 +0,0 @@
-/* $NoKeywords:$ */
-/**
- * @file
- *
- * AMD Family_14 Microcode patch.
- *
- * Fam14 Microcode Patch rev 05000025 for 5810 or equivalent.
- *
- * @xrefitem bom "File Content Label" "Release Content"
- * @e project: AGESA
- * @e sub-project: CPU/FAMILY/0x14
- * @e \$Revision: 37850 $ @e \$Date: 2010-09-13 18:09:57 -0400 (Mon, 13 Sep 2010) $
- *
- */
-/*
- *****************************************************************************
- *
- * Copyright (c) 2011, Advanced Micro Devices, Inc.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Advanced Micro Devices, Inc. nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * ***************************************************************************
- *
- */
-/*----------------------------------------------------------------------------------------
- * M O D U L E S U S E D
- *----------------------------------------------------------------------------------------
- */
-#include "AGESA.h"
-#include "cpuRegisters.h"
-#include "cpuEarlyInit.h"
-
-/*----------------------------------------------------------------------------------------
- * D E F I N I T I O N S A N D M A C R O S
- *----------------------------------------------------------------------------------------
- */
-
-/*----------------------------------------------------------------------------------------
- * T Y P E D E F S A N D S T R U C T U R E S
- *----------------------------------------------------------------------------------------
- */
-
-// Patch code 05000025 for 5810 and equivalent
-CONST MICROCODE_PATCHES ROMDATA CpuF14MicrocodePatch05000025_Unenc =
-{
-0x10,
-0x20,
-0x10,
-0x09,
-0x25,
-0x00,
-0x00,
-0x05,
-0x01,
-0x80,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x10,
-0x58,
-0x00,
-0x00,
-0x00,
-0xaa,
-0xaa,
-0xaa,
-0x43,
-0x72,
-0xae,
-0x08,
-0x06,
-0x9e,
-0x82,
-0x91,
-0x00,
-0x00,
-0x00,
-0x00,
-0x25,
-0x00,
-0x00,
-0x05,
-0x87,
-0x01,
-0x17,
-0x11,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xf0,
-0x0c,
-0xae,
-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,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0x81,
-0x7f,
-0x00,
-0xe1,
-0x1f,
-0xc0,
-0xbf,
-0xff,
-0xbf,
-0x07,
-0x00
-};
-
-/*----------------------------------------------------------------------------------------
- * P R O T O T Y P E S O F L O C A L F U N C T I O N S
- *----------------------------------------------------------------------------------------
- */
-
-/*----------------------------------------------------------------------------------------
- * E X P O R T E D F U N C T I O N S
- *----------------------------------------------------------------------------------------
- */
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/Gfx/Family/0x14/F14GfxServices.c b/src/vendorcode/amd/agesa/Proc/GNB/Gfx/Family/0x14/F14GfxServices.c
index 6b072b4d4d..139d47cb5a 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/Gfx/Family/0x14/F14GfxServices.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/Gfx/Family/0x14/F14GfxServices.c
@@ -483,10 +483,10 @@ REGISTER_COPY_ENTRY CnbToGncRegisterCopyTable [] = {
GMMx284C_Dimm0AddrMap_WIDTH + GMMx284C_Dimm1AddrMap_WIDTH
},
{
- MAKE_SBDFO (0, 0, 0x18, 2, D18F2x94_ADDRESS),
+ MAKE_SBDFO (0, 0, 0x18, 2, D18F2x094_ADDRESS),
GMMx284C_ADDRESS,
- D18F2x94_BankSwizzleMode_OFFSET,
- D18F2x94_BankSwizzleMode_WIDTH,
+ D18F2x094_BankSwizzleMode_OFFSET,
+ D18F2x094_BankSwizzleMode_WIDTH,
GMMx284C_BankSwizzleMode_OFFSET,
GMMx284C_BankSwizzleMode_WIDTH
},
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/Gfx/GfxStrapsInit.c b/src/vendorcode/amd/agesa/Proc/GNB/Gfx/GfxStrapsInit.c
index 0b3791934c..350e9b6bf5 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/Gfx/GfxStrapsInit.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/Gfx/GfxStrapsInit.c
@@ -167,11 +167,9 @@ GfxStrapsInit (
if (Gfx->GfxControllerMode == GfxControllerLegacyBridgeMode) {
D0F0x64_x1D.Field.IntGfxAsPcieEn = 0x0;
D0F0x64_x1C.Field.RcieEn = 0x0;
- D0F0x64_x1C.Field.PcieDis = 0x1;
} else {
D0F0x64_x1D.Field.IntGfxAsPcieEn = 0x1;
D0F0x64_x1C.Field.RcieEn = 0x1;
- D0F0x64_x1C.Field.PcieDis = 0x0;
//LN/ON A0 (MSI)
GnbLibPciRMW (MAKE_SBDFO (0, 0, 1, 0, 0x4), AccessS3SaveWidth32, 0xffffffff, BIT2, GnbLibGetHeader (Gfx));
}
@@ -182,7 +180,6 @@ GfxStrapsInit (
}
D0F0x64_x1C.Field.AudioEn = Gfx->GnbHdAudio;
D0F0x64_x1C.Field.F0En = 0x1;
-// D0F0x64_x1C.Field.F0BarEn = 0x1; //Keep re-sizable bar disabled at 0 due to silicon bug
D0F0x64_x1C.Field.RegApSize = 0x1;
if (Gfx->UmaInfo.UmaSize > 128 * 0x100000) {
@@ -315,10 +312,4 @@ GfxSetIdleVoltageMode (
IN GFX_PLATFORM_CONFIG *Gfx
)
{
- FCRxFF30_0191_STRUCT FCRxFF30_0191;
- NbSmuSrbmRegisterRead (FCRxFF30_0191_ADDRESS, &FCRxFF30_0191.Value, GnbLibGetHeader (Gfx));
- FCRxFF30_0191.Field.GfxIdleVoltChgEn = 0x1;
- FCRxFF30_0191.Field.GfxIdleVoltChgMode = (Gfx->GfxFusedOff || Gfx->UmaInfo.UmaMode != UMA_NONE) ? 0x0 : 0x1;
- NbSmuSrbmRegisterWrite (FCRxFF30_0191_ADDRESS, &FCRxFF30_0191.Value, TRUE, GnbLibGetHeader (Gfx));
-
}
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
index f2ba2cf0da..468e57f74c 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbNbInitLibV1/GnbNbInitLibV1.c
@@ -158,10 +158,10 @@ GnbLpcDmaDeadlockPrevention (
// For GPP Link core, enable special NP memory write protocol on the processor side PCIE controller
GnbLibPciIndirectRMW (
NbPciAddress.AddressValue | D0F0xE0_ADDRESS,
- CORE_SPACE (1, D0F0xE4_CORE_0010_ADDRESS),
+ CORE_SPACE (1, 0x10),
AccessWidth32,
0xFFFFFFFF,
- 1 << D0F0xE4_CORE_0010_UmiNpMemWrite_OFFSET,
+ 1 << 9,
StdHeader
);
@@ -244,4 +244,4 @@ GnbLock (
TRUE,
StdHeader
);
-} \ No newline at end of file
+}
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
index 31d5f5a0db..b2c490f122 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PciePortServices.c
@@ -144,9 +144,9 @@ PcieLinkInitHotplug (
);
PcieRegisterWriteField (
PcieEngineGetParentWrapper (Engine),
- CORE_SPACE (Engine->Type.Port.CoreId, D0F0xE4_CORE_0010_ADDRESS),
- D0F0xE4_CORE_0010_LcHotPlugDelSel_OFFSET,
- D0F0xE4_CORE_0010_LcHotPlugDelSel_WIDTH,
+ CORE_SPACE (Engine->Type.Port.CoreId, 0x10),
+ 1,
+ 3,
0x5,
TRUE,
Pcie
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
index e45ecc67a1..2bddde40f1 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieTopologyServices.c
@@ -525,29 +525,22 @@ PcieTopologyInitSrbmReset (
IN PCIe_PLATFORM_CONFIG *Pcie
)
{
- D0F0xE4_WRAP_8063_STRUCT D0F0xE4_WRAP_8063;
- D0F0xE4_WRAP_8063.Value = PcieRegisterRead (
+ UINT32 pcireg;
+ UINT32 regmask = 0x7030;;
+ pcireg = PcieRegisterRead (
Wrapper,
- WRAP_SPACE (Wrapper->WrapId, D0F0xE4_WRAP_8063_ADDRESS),
+ WRAP_SPACE (Wrapper->WrapId, 0x8063),
Pcie
);
if (SrbmResetEnable) {
- D0F0xE4_WRAP_8063.Field.ResetSrbm0En = 0x1;
- D0F0xE4_WRAP_8063.Field.ResetSrbm1En = 0x1;
- D0F0xE4_WRAP_8063.Field.ResetSrbmNbEn = 0x1;
- D0F0xE4_WRAP_8063.Field.ResetSrbmGfxEn = 0x1;
- D0F0xE4_WRAP_8063.Field.ResetSrbmDcEn = 0x1;
+ pcireg |= regmask;
} else {
- D0F0xE4_WRAP_8063.Field.ResetSrbm0En = 0x0;
- D0F0xE4_WRAP_8063.Field.ResetSrbm1En = 0x0;
- D0F0xE4_WRAP_8063.Field.ResetSrbmNbEn = 0x0;
- D0F0xE4_WRAP_8063.Field.ResetSrbmGfxEn = 0x0;
- D0F0xE4_WRAP_8063.Field.ResetSrbmDcEn = 0x0;
+ pcireg &= ~(regmask);
}
PcieRegisterWrite (
Wrapper,
- WRAP_SPACE (Wrapper->WrapId, D0F0xE4_WRAP_8063_ADDRESS),
- D0F0xE4_WRAP_8063.Value,
+ WRAP_SPACE (Wrapper->WrapId, 0x8063),
+ pcireg,
FALSE,
Pcie
);
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
index 5a288a429c..ef868203dd 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/Modules/GnbPcieInitLibV1/PcieUtilityLib.c
@@ -424,9 +424,9 @@ PcieLockRegisters (
for (CoreId = Wrapper->StartPcieCoreId; CoreId <= Wrapper->EndPcieCoreId; CoreId++) {
PcieRegisterWriteField (
Wrapper,
- CORE_SPACE (CoreId, D0F0xE4_CORE_0010_ADDRESS),
- D0F0xE4_CORE_0010_HwInitWrLock_OFFSET,
- D0F0xE4_CORE_0010_HwInitWrLock_WIDTH,
+ CORE_SPACE (CoreId, 0x10),
+ 0,
+ 1,
0x1,
TRUE,
Pcie
diff --git a/src/vendorcode/amd/agesa/Proc/GNB/PCIe/PcieInit.c b/src/vendorcode/amd/agesa/Proc/GNB/PCIe/PcieInit.c
index 08588fdcda..8b49ad8973 100644
--- a/src/vendorcode/amd/agesa/Proc/GNB/PCIe/PcieInit.c
+++ b/src/vendorcode/amd/agesa/Proc/GNB/PCIe/PcieInit.c
@@ -112,14 +112,13 @@ PciePortsVisibilityControl (
PCIE_HOST_REGISTER_ENTRY CoreInitTable [] = {
{
D0F0xE4_CORE_0020_ADDRESS,
- D0F0xE4_CORE_0020_CiRcOrderingDis_MASK |
- D0F0xE4_CORE_0020_CiSlvOrderingDis_MASK,
+ D0F0xE4_CORE_0020_CiRcOrderingDis_MASK,
(0x1 << D0F0xE4_CORE_0020_CiRcOrderingDis_OFFSET)
},
{
- D0F0xE4_CORE_0010_ADDRESS,
- D0F0xE4_CORE_0010_RxUmiAdjPayloadSize_MASK,
- (0x4 << D0F0xE4_CORE_0010_RxUmiAdjPayloadSize_OFFSET)
+ 0x10,
+ 0x1c00,
+ (0x4 << 10)
},
{
D0F0xE4_CORE_001C_ADDRESS,
@@ -149,8 +148,7 @@ PCIE_HOST_REGISTER_ENTRY CoreInitTable [] = {
},
{
D0F0xE4_CORE_00B0_ADDRESS,
- D0F0xE4_CORE_00B0_StrapF0MsiEn_MASK |
- D0F0xE4_CORE_00B0_StrapF0AerEn_MASK,
+ D0F0xE4_CORE_00B0_StrapF0MsiEn_MASK,
(0x1 << D0F0xE4_CORE_00B0_StrapF0MsiEn_OFFSET)
}
};