Add AMD Family 10h PH-E0 support

the patch file comes from
src/vendorcode/amd/agesa/f12/Proc/CPU/Family/0x10/RevE
/F10MicrocodePatch010000bf.c

Change-Id: If701c8a908edf1c486665d3ce4df65da0f65c802
Signed-off-by: QingPei Wang <wangqingpei@gmail.com>
Reviewed-on: http://review.coreboot.org/202
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
QingPei Wang 2011-09-13 18:04:22 +08:00 committed by Peter Stuge
parent 62ff00e13f
commit 8eb4273290
4 changed files with 169 additions and 1 deletions

View File

@ -0,0 +1,164 @@
/*
============================================================
Copyright (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
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.
============================================================
*/
0x10, 0x20, 0x17, 0x02, 0xbf, 0x00, 0x00, 0x01, 0x00, 0x80, 0x20, 0x00,
0x42, 0x82, 0x02, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xa0, 0x10, 0x00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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,

View File

@ -157,6 +157,7 @@ static struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x100F63 }, /* DA-C3 */
{ X86_VENDOR_AMD, 0x100F80 }, /* HY-D0 */
{ X86_VENDOR_AMD, 0x100F81 }, /* HY-D1 */
{ X86_VENDOR_AMD, 0x100FA0 }, /* PH-E0 */
{ 0, 0 },
};

View File

@ -51,6 +51,7 @@ static const u8 microcode_updates[] __attribute__ ((aligned(16))) = {
* 00100F62h (DA-C2) 1062h 0100009Fh
* 00100F63h (DA-C3) 1043h 010000b6h
* 00100F81h (HY-D1) 1081h 010000c4h
* 00100FA0h (PH-E0) 10A0h 010000bfh
*/
#include CONFIG_AMD_UCODE_PATCH_FILE
@ -78,6 +79,7 @@ static u32 get_equivalent_processor_rev_id(u32 orig_id) {
0x100f62, 0x1062,
0x100f63, 0x1043,
0x100f81, 0x1081,
0x100fa0, 0x10A0,
};
u32 new_id;

View File

@ -46,6 +46,7 @@
#define AMD_RB_C3 0x08000000 /* ??? C3 */
#define AMD_DA_C3 0x10000000 /* XXXX C3 */
#define AMD_HY_D1 0x20000000 /* Istanbul D1 */
#define AMD_PH_E0 0x40000000 /* Phenom II X4 X6 */
/*
* Groups - Create as many as you wish, from the above public values
@ -64,7 +65,7 @@
#define AMD_DR_GT_B0 (AMD_DR_ALL & ~(AMD_DR_B0))
#define AMD_DR_GT_Bx (AMD_DR_ALL & ~(AMD_DR_Ax | AMD_DR_Bx))
#define AMD_DR_ALL (AMD_DR_Bx)
#define AMD_FAM10_ALL (AMD_DR_ALL | AMD_RB_C2 | AMD_HY_D0 | AMD_DA_C3 | AMD_DA_C2 | AMD_RB_C3 | AMD_HY_D1)
#define AMD_FAM10_ALL (AMD_DR_ALL | AMD_RB_C2 | AMD_HY_D0 | AMD_DA_C3 | AMD_DA_C2 | AMD_RB_C3 | AMD_HY_D1 | AMD_PH_E0)
#define AMD_FAM10_LT_D (AMD_FAM10_ALL & ~(AMD_HY_D0))
#define AMD_FAM10_GT_B0 (AMD_FAM10_ALL & ~(AMD_DR_B0))
#define AMD_DA_Cx (AMD_DA_C2 | AMD_DA_C3)