summaryrefslogtreecommitdiff
path: root/src/cpu/amd/model_10xxx
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@amd.com>2008-04-22 23:20:07 +0000
committerMarc Jones <marc.jones@amd.com>2008-04-22 23:20:07 +0000
commit8127dc41d1fde1118cdbe3bf6b592312b5b85c02 (patch)
tree08827883b0bff5c400452aba8fc3b2a93df4cdb2 /src/cpu/amd/model_10xxx
parentc74e3627233558c62e93beb37efa271f0f353f8d (diff)
Update the FAM10 microcode to current versions.
In addition, AP microcode is now updated in early initialization to support errata settings that require it. Signed-off-by: Marc Jones <marc.jones@amd.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3250 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_10xxx')
-rw-r--r--src/cpu/amd/model_10xxx/init_cpus.c2
-rw-r--r--src/cpu/amd/model_10xxx/mc_patch_01000018.h163
-rw-r--r--src/cpu/amd/model_10xxx/mc_patch_01000065.h (renamed from src/cpu/amd/model_10xxx/mc_patch_01000035.h)105
-rw-r--r--src/cpu/amd/model_10xxx/mc_patch_01000066.h (renamed from src/cpu/amd/model_10xxx/mc_patch_01000033.h)97
-rw-r--r--src/cpu/amd/model_10xxx/model_10xxx_init.c6
-rw-r--r--src/cpu/amd/model_10xxx/update_microcode.c11
6 files changed, 111 insertions, 273 deletions
diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c
index 5c17a9a118..16b5a3d928 100644
--- a/src/cpu/amd/model_10xxx/init_cpus.c
+++ b/src/cpu/amd/model_10xxx/init_cpus.c
@@ -53,6 +53,7 @@ static inline void print_initcpu(const char *strval, u32 val)
}
+void update_microcode(u32 cpu_deviceid);
static void prep_fid_change(void);
static void init_fidvid_stage2(u32 apicid, u32 nodeid);
void cpuSetAMDMSR(void);
@@ -391,6 +392,7 @@ static u32 init_cpus(u32 cpu_init_detectedx)
* This happens after HTinit.
* The BSP runs this code in it's own path.
*/
+ update_microcode(cpuid_eax(1));
cpuSetAMDMSR();
diff --git a/src/cpu/amd/model_10xxx/mc_patch_01000018.h b/src/cpu/amd/model_10xxx/mc_patch_01000018.h
deleted file mode 100644
index eebe89b92b..0000000000
--- a/src/cpu/amd/model_10xxx/mc_patch_01000018.h
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
- ============================================================
- (c) Advanced Micro Devices, Inc., 2004-2005
-
- The enclosed microcode is intended to be used with AMD
- Microprocessors. You may copy, view and install the
- enclosed microcode only for development and deployment of
- firmware, BIOS, or operating system code for computer
- systems that contain AMD processors. You are not
- authorized to use the enclosed microcode for any other
- purpose.
-
- THE MICROCODE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR
- IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO
- WARRANTIES OF MERCHANTABILITY, NON- INFRINGEMENT,
- TITLE,FITNESS FOR ANY PARTICULAR PURPOSE, OR WARRANTIES
- ARISING FROM CONDUCT, COURSE OF DEALING, OR USAGE OF TRADE.
- AMD does not assume any responsibility for any errors which
- may appear in this microcode or any other related
- information provided to you by AMD, or result from use of
- this microcode. AMD is not obligated to furnish, support,
- or make any further information, software, technical
- information, know-how, or show-how available related to this
- microcode.
-
- The microcode is provided with "RESTRICTED RIGHTS." Use,
- duplication, or disclosure by the U.S. Government is subject
- to the restrictions as set forth in FAR 52.227-14 and
- DFAR252.227-7013, et seq., or its successor. Use of the
- microcode by the U.S. Government constitutes
- acknowledgement of AMD's proprietary rights in them.
- ============================================================
-*/
-
-0x07, 0x20, 0x08, 0x02, 0x18, 0x00, 0x00, 0x01, 0x00, 0x80, 0x20, 0x00,
-0x66, 0x70, 0x30, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x10, 0x00, 0x00, 0x00, 0xaa, 0xaa, 0xaa, 0x44, 0x06, 0x00, 0x00,
-0xff, 0xff, 0xff, 0xff, 0x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, 0, 0, 0,
-0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-
-0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-
diff --git a/src/cpu/amd/model_10xxx/mc_patch_01000035.h b/src/cpu/amd/model_10xxx/mc_patch_01000065.h
index 5081bfaa0e..82a9113d90 100644
--- a/src/cpu/amd/model_10xxx/mc_patch_01000035.h
+++ b/src/cpu/amd/model_10xxx/mc_patch_01000065.h
@@ -1,6 +1,6 @@
/*
============================================================
- (c) Advanced Micro Devices, Inc., 2004-2005
+ (c) Advanced Micro Devices, Inc., 2004-2008
The enclosed microcode is intended to be used with AMD
Microprocessors. You may copy, view and install the
@@ -32,76 +32,77 @@
============================================================
*/
-0x07, 0x20, 0x23, 0x07, 0x35, 0x00, 0x00, 0x01, 0x00, 0x80, 0x20, 0x00,
-0xDE, 0x76, 0xD5, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+
+0x08, 0x20, 0x11, 0x01, 0x65, 0x00, 0x00, 0x01, 0x00, 0x80, 0x20, 0x00,
+0x9B, 0x78, 0x67, 0x6C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x22, 0x10, 0x00, 0x00, 0x00, 0xAA, 0xAA, 0xAA, 0x70, 0x09, 0x00, 0x00,
-0x49, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xC1, 0x08, 0x00, 0x00,
-0xFF, 0xFF, 0xFF, 0xFF, 0x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mc_patch_01000033.h b/src/cpu/amd/model_10xxx/mc_patch_01000066.h
index d115c9f17f..acffabd6aa 100644
--- a/src/cpu/amd/model_10xxx/mc_patch_01000033.h
+++ b/src/cpu/amd/model_10xxx/mc_patch_01000066.h
@@ -1,6 +1,6 @@
/*
============================================================
- (c) Advanced Micro Devices, Inc., 2004-2005
+ (c) Advanced Micro Devices, Inc., 2004-2008
The enclosed microcode is intended to be used with AMD
Microprocessors. You may copy, view and install the
@@ -32,25 +32,26 @@
============================================================
*/
-0x07, 0x20, 0x27, 0x06, 0x33, 0x00, 0x00, 0x01, 0x00, 0x80, 0x20, 0x00,
-0xDE, 0x76, 0xD5, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+
+0x08, 0x20, 0x11, 0x01, 0x66, 0x00, 0x00, 0x01, 0x00, 0x80, 0x20, 0x00,
+0x83, 0x75, 0xF0, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x20, 0x10, 0x00, 0x00, 0x00, 0xAA, 0xAA, 0xAA, 0x70, 0x09, 0x00, 0x00,
-0x49, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xC1, 0x08, 0x00, 0x00,
-0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-0xFF, 0xFF, 0xFF, 0xFF, 0x2A, 0xFF, 0xFF, 0x29, 0xC3, 0x5F, 0xD0, 0xC1,
+0x49, 0x01, 0x00, 0x00, 0x8B, 0x01, 0x00, 0x00, 0xC1, 0x08, 0x00, 0x00,
+0xFF, 0xFF, 0xFF, 0xFF, 0x56, 0x0F, 0x00, 0x00, 0x9E, 0x0B, 0x00, 0x00,
+0x9A, 0x0B, 0x00, 0x00, 0x2A, 0xFF, 0xFF, 0x29, 0xC3, 0x5F, 0xD0, 0xC1,
0xBD, 0xFF, 0xFF, 0xB3, 0x0F, 0xFF, 0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 0xFF, 0x1E, 0x00, 0xF0, 0x1F, 0xF8, 0x07,
0x37, 0xFC, 0x03, 0xF8, 0xC0, 0x7F, 0xE0, 0x1F, 0xDF, 0xF0, 0x0F, 0xE0,
0x00, 0xFF, 0x81, 0x7F, 0x7F, 0xC3, 0x3F, 0x80, 0x00, 0xFC, 0x7F, 0x0F,
diff --git a/src/cpu/amd/model_10xxx/model_10xxx_init.c b/src/cpu/amd/model_10xxx/model_10xxx_init.c
index b293421799..697ab0382c 100644
--- a/src/cpu/amd/model_10xxx/model_10xxx_init.c
+++ b/src/cpu/amd/model_10xxx/model_10xxx_init.c
@@ -369,7 +369,6 @@ static void smash1Gpages(void)
}
-extern void update_microcode(u32 cpu_deviceid);
void model_10xxx_init(device_t dev)
@@ -386,10 +385,6 @@ void model_10xxx_init(device_t dev)
amd_setup_mtrrs();
x86_mtrr_check();
-
- /* Update the microcode */
- update_microcode(dev->device);
-
disable_cache();
/* zero the machine check error status registers */
@@ -455,6 +450,7 @@ static struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x100f21 },
{ X86_VENDOR_AMD, 0x100f2A },
{ X86_VENDOR_AMD, 0x100f22 },
+ { X86_VENDOR_AMD, 0x100f23 },
{ 0, 0 },
};
static struct cpu_driver model_10xxx __cpu_driver = {
diff --git a/src/cpu/amd/model_10xxx/update_microcode.c b/src/cpu/amd/model_10xxx/update_microcode.c
index 8233247962..32d7750dcc 100644
--- a/src/cpu/amd/model_10xxx/update_microcode.c
+++ b/src/cpu/amd/model_10xxx/update_microcode.c
@@ -31,14 +31,14 @@ static const u8 microcode_updates[] __attribute__ ((aligned(16))) = {
#ifdef __ROMCC__
- // Barcelona revAx
+ // Barcelona rev Ax
// #include "mc_patch_01000020.h"
- // Barcelona revBx
- #include "mc_patch_01000033.h"
+ // Barcelona rev B0, B1, BA
+// #include "mc_patch_01000066.h"
- // Barcelona rev Cx??
-// #include "mc_patch_01000035.h"
+ // Barcelona rev B2, B3
+ #include "mc_patch_01000065.h"
#endif
/* Dummy terminator */
@@ -57,6 +57,7 @@ static u32 get_equivalent_processor_rev_id(u32 orig_id) {
0x100f21, 0x1020,
0x100f2A, 0x1020,
0x100f22, 0x1022,
+ 0x100f23, 0x1022,
};
u32 new_id;