aboutsummaryrefslogtreecommitdiff
path: root/resources/libreboot/patch/kgpe-d16/0031-southbridge-amd-sr5650-Add-AMD-Family-15h-CPU-suppor.patch
blob: d99746e0679a50206adf568026388c22b025ad50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 89f0d8276a64d05d7cf091ac41402bdf7f71f4ba Mon Sep 17 00:00:00 2001
From: Timothy Pearson <tpearson@raptorengineeringinc.com>
Date: Sat, 5 Sep 2015 19:30:38 -0500
Subject: [PATCH 031/143] southbridge/amd/sr5650: Add AMD Family 15h CPU
 support

Change-Id: I88203907270db1a268bd377151f15c24fca1efdc
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
---
 src/southbridge/amd/sr5650/early_setup.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/southbridge/amd/sr5650/early_setup.c b/src/southbridge/amd/sr5650/early_setup.c
index 664f60a..62b0dab 100644
--- a/src/southbridge/amd/sr5650/early_setup.c
+++ b/src/southbridge/amd/sr5650/early_setup.c
@@ -94,6 +94,8 @@ static void get_cpu_rev(void)
 		printk(BIOS_INFO, "CPU Rev is K8_G1.\n");
 	else if (eax <= 0x100fa0)
 		printk(BIOS_INFO, "CPU Rev is Fam 10.\n");
+	else if (eax <= 0x600f20)
+		printk(BIOS_INFO, "CPU Rev is Fam 15.\n");
 	else
 		printk(BIOS_INFO, "CPU Rev is not recognized.\n");
 }
-- 
1.7.9.5