summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/amd/agesa/f12/Config/OptionFamily12hInstall.h4
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c1035
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch03000027.c195
-rw-r--r--src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc2
4 files changed, 198 insertions, 1038 deletions
diff --git a/src/vendorcode/amd/agesa/f12/Config/OptionFamily12hInstall.h b/src/vendorcode/amd/agesa/f12/Config/OptionFamily12hInstall.h
index ca0f79d712..215342d301 100644
--- a/src/vendorcode/amd/agesa/f12/Config/OptionFamily12hInstall.h
+++ b/src/vendorcode/amd/agesa/f12/Config/OptionFamily12hInstall.h
@@ -337,9 +337,9 @@ extern F_IS_NB_PSTATE_ENABLED F12IsNbPstateEnabled;
#define F12_LN_UCODE_0F
#if AGESA_ENTRY_INIT_EARLY == TRUE
- extern CONST MICROCODE_PATCHES ROMDATA CpuF12MicrocodePatch0300000f;
+ extern CONST MICROCODE_PATCHES ROMDATA CpuF12MicrocodePatch03000027;
#undef F12_LN_UCODE_0F
- #define F12_LN_UCODE_0F &CpuF12MicrocodePatch0300000f,
+ #define F12_LN_UCODE_0F &CpuF12MicrocodePatch03000027,
#if OPTION_EARLY_SAMPLES == TRUE
extern CONST MICROCODE_PATCHES ROMDATA CpuF12MicrocodePatch03000002;
extern CONST MICROCODE_PATCHES ROMDATA CpuF12MicrocodePatch0300000e;
diff --git a/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c
deleted file mode 100644
index b4c8921660..0000000000
--- a/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch0300000f.c
+++ /dev/null
@@ -1,1035 +0,0 @@
-/* $NoKeywords:$ */
-/**
- * @file
- *
- * AMD Family_12 Microcode patch.
- *
- * Fam12 Microcode Patch rev 0300000F for 3010 or equivalent.
- *
- * @xrefitem bom "File Content Label" "Release Content"
- * @e project: AGESA
- * @e sub-project: CPU/FAMILY/0x12
- * @e \$Revision: 44324 $ @e \$Date: 2010-12-22 17:16:51 +0800 (Wed, 22 Dec 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 0300000F for 3010 and equivalent
-CONST MICROCODE_PATCHES ROMDATA CpuF12MicrocodePatch0300000f =
-{{
-0x10,
-0x20,
-0x04,
-0x10,
-0x0f,
-0x00,
-0x00,
-0x03,
-0x03,
-0x80,
-0x20,
-0x00,
-0xab,
-0x89,
-0x5b,
-0x29,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x10,
-0x30,
-0x00,
-0x00,
-0x00,
-0xaa,
-0xaa,
-0xaa,
-0xbd,
-0x02,
-0x23,
-0x47,
-0x99,
-0x0c,
-0x51,
-0xb9,
-0xff,
-0xff,
-0x73,
-0xe5,
-0xff,
-0xff,
-0xd8,
-0x51,
-0xff,
-0xff,
-0x68,
-0xa9,
-0xff,
-0xff,
-0xc4,
-0x88,
-0xff,
-0xff,
-0xb0,
-0xc9,
-0xff,
-0xff,
-0xf0,
-0x9a,
-0x04,
-0xfe,
-0xff,
-0x00,
-0xc3,
-0xb7,
-0x14,
-0xfd,
-0xec,
-0xf2,
-0xff,
-0xa3,
-0x0e,
-0xbf,
-0x50,
-0x55,
-0xf0,
-0xf7,
-0xff,
-0x0f,
-0x3f,
-0x7c,
-0x63,
-0xd9,
-0x40,
-0x83,
-0xab,
-0x01,
-0x02,
-0x87,
-0x04,
-0x7f,
-0xd6,
-0xe1,
-0x97,
-0x81,
-0x01,
-0xfe,
-0xfd,
-0xff,
-0xfb,
-0x87,
-0x6f,
-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b,
-0xfe,
-0x01,
-0x0f,
-0xe0,
-0x3f,
-0xf0,
-0xf0,
-0x6f,
-0xf8,
-0x07,
-0x3f,
-0x80,
-0xff,
-0xc0,
-0xc0,
-0xbf,
-0xe1,
-0x1f,
-0x0f,
-0x00,
-0xfe,
-0x7f,
-0xfe,
-0x01,
-0xfc,
-0x07,
-0x00,
-0xfe,
-0x0d,
-0xff,
-0xf8,
-0x07,
-0xf0,
-0x1f,
-0x03,
-0xf8,
-0x37,
-0xfc,
-0xe0,
-0x1f,
-0xc0,
-0x7f,
-0x0f,
-0xe0,
-0xdf,
-0xf0,
-0xbf,
-0x07,
-0x00,
-0xff,
-0x03,
-0xff,
-0x00,
-0xfe,
-0x7f,
-0x00,
-0xff,
-0x86,
-0x0f,
-0xfc,
-0x03,
-0xf8,
-0xfe,
-0x01,
-0xfc,
-0x1b,
-0x3f,
-0xf0,
-0x0f,
-0xe0,
-0xf8,
-0x07,
-0xf0,
-0x6f,
-0xff,
-0xdf,
-0x03,
-0x80
-}};
-
-/*----------------------------------------------------------------------------------------
- * 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/f12/Proc/CPU/Family/0x12/F12MicrocodePatch03000027.c b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch03000027.c
new file mode 100644
index 0000000000..456c51a537
--- /dev/null
+++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/F12MicrocodePatch03000027.c
@@ -0,0 +1,195 @@
+/* $NoKeywords:$ */
+/**
+ * @file
+ *
+ * AMD Family_12 Microcode patch.
+ *
+ * Fam12 Microcode Patch rev 03000027 for 3010 or equivalent.
+ *
+ * @xrefitem bom "File Content Label" "Release Content"
+ * @e project: AGESA
+ * @e sub-project: CPU/FAMILY/0x12
+ * @e \$Revision: 58717 $ @e \$Date: 2011-09-13 23:20:11 +0800 (Tue, 13 Sep 2011) $
+ *
+ */
+/*
+ ******************************************************************************
+ *
+ * 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 03000027 for 3010 and equivalent
+CONST MICROCODE_PATCHES ROMDATA CpuF12MicrocodePatch03000027 =
+{{
+ 0x11, 0x20, 0x09, 0x13, 0x27, 0x00, 0x00, 0x03,
+ 0x03, 0x80, 0x20, 0x00, 0x40, 0x00, 0x4f, 0x10,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x10, 0x30, 0x00, 0x00, 0x00, 0xaa, 0xaa, 0xaa,
+ 0xbd, 0x02, 0x19, 0xe3, 0x99, 0x0c, 0x06, 0x98,
+ 0x8a, 0x0f, 0x7b, 0x68, 0xc6, 0x11, 0x45, 0xd0,
+ 0x8c, 0x0e, 0x45, 0x3c, 0xff, 0xff, 0x29, 0xee,
+ 0xff, 0xff, 0x66, 0xdd, 0xff, 0xff, 0x53, 0x89,
+ 0x04, 0xfe, 0xff, 0x00, 0xc3, 0xb7, 0x14, 0xfd,
+ 0xec, 0xf2, 0xff, 0xa3, 0x0e, 0xbf, 0x50, 0x55,
+ 0xf0, 0xf7, 0xff, 0x0f, 0x3f, 0x7c, 0x63, 0xd9,
+ 0x80, 0x83, 0xab, 0x01, 0x02, 0x87, 0x04, 0x7f,
+ 0xd6, 0xe1, 0x97, 0x81, 0x01, 0xfe, 0xfd, 0xff,
+ 0xfb, 0x87, 0x6f, 0x2f, 0x27, 0x78, 0x8d, 0xf0,
+ 0x68, 0x1d, 0x7e, 0x19, 0x00, 0x40, 0xed, 0xd6,
+ 0x0e, 0xc0, 0x3b, 0x26, 0x60, 0xe8, 0x80, 0x0f,
+ 0x7f, 0x0e, 0xff, 0x95, 0x87, 0xcb, 0xc3, 0x3e,
+ 0xfe, 0x29, 0xfc, 0x6f, 0x1c, 0x2e, 0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 0x7c, 0xda, 0x03, 0x7f, 0x82,
+ 0xe1, 0x97, 0xc1, 0xd6, 0xfe, 0x03, 0xff, 0x00,
+ 0x86, 0x7f, 0x00, 0xff, 0xf8, 0xff, 0x3d, 0x00,
+ 0xf2, 0x9f, 0xfd, 0xd7, 0x3c, 0xfc, 0x03, 0xfc,
+ 0xcb, 0xef, 0xff, 0xbf, 0x7f, 0xf0, 0x8f, 0xf5,
+ 0x29, 0xff, 0xd9, 0x7d, 0xd7, 0x83, 0xbf, 0xb7,
+ 0x00, 0xfc, 0xff, 0x1e, 0xfb, 0xfd, 0xcf, 0xfe,
+ 0x7e, 0x0e, 0xfe, 0xfd, 0x0f, 0xe0, 0x7f, 0xfb,
+ 0xa2, 0x3f, 0x38, 0xc6, 0x7f, 0x82, 0x01, 0x00,
+ 0x41, 0xd7, 0xe1, 0x8f, 0x0d, 0x00, 0x72, 0x6b,
+ 0xf8, 0x13, 0x0c, 0x00, 0x0c, 0xb6, 0x0e, 0xbf,
+ 0xfd, 0x07, 0xf0, 0xdf, 0x63, 0xd1, 0x1f, 0x1c,
+ 0x80, 0x3f, 0xc1, 0x00, 0xc7, 0x00, 0xeb, 0xf0,
+ 0xbf, 0x07, 0x00, 0xff, 0x03, 0xff, 0x00, 0xfe,
+ 0x7f, 0x00, 0xff, 0x86, 0x0f, 0xfc, 0x03, 0xf8,
+ 0xfe, 0x01, 0xfc, 0x1b, 0x3f, 0xf0, 0x0f, 0xe0,
+ 0xf8, 0x07, 0xf0, 0x6f, 0xff, 0xdf, 0x03, 0x80
+}};
+
+/*----------------------------------------------------------------------------------------
+ * 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/f12/Proc/CPU/Family/0x12/Makefile.inc b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc
index 740b96ad31..72e42f82f8 100644
--- a/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc
+++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x12/Makefile.inc
@@ -3,7 +3,7 @@ libagesa-y += F12Cpb.c
libagesa-y += F12IoCstate.c
libagesa-y += F12MicrocodePatch03000002.c
libagesa-y += F12MicrocodePatch0300000e.c
-libagesa-y += F12MicrocodePatch0300000f.c
+libagesa-y += F12MicrocodePatch03000027.c
libagesa-y += cpuCommonF12Utilities.c
libagesa-y += cpuF12BrandId.c
libagesa-y += cpuF12BrandIdFm1.c