summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/kgpe-d16/0031-southbridge-amd-sr5650-Add-AMD-Family-15h-CPU-suppor.patch
blob: d43fab69c7c1863d1bdb04b6ae64e555c1a4f847 (plain)
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 7102e3001406f8eedbfbbeefafb2f27b62b47d03 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/139] 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.9.1