summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/tmpfix/0001-NOTFORMERGE-don-t-add-CPU-microcode-on-fam10h-to-fam.patch
blob: 875e2c328a1721a0e7958dc6e813d36622639403 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
From 006f0efb848edebc43c73a5f6a421a1696266157 Mon Sep 17 00:00:00 2001
From: Leah Rowe <info@minifree.org>
Date: Mon, 19 Oct 2015 02:26:24 +0100
Subject: [PATCH] NOTFORMERGE: don't add CPU microcode on fam10h to fam15h
 (AMD)

Temporary fix for the libreboot project.

When disabling microcode updates in menuconfig, they are still
included, which means that libreboot will fail to build. This
patch fixes that.

TODO: get tpearson to fix it properly, and then abandon this patch

Change-Id: I018791e74f78c66d145225d6ddf0be324f41bc15
Signed-off-by: Leah Rowe <info@minifree.org>
---
 src/cpu/amd/family_10h-family_15h/Makefile.inc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/cpu/amd/family_10h-family_15h/Makefile.inc b/src/cpu/amd/family_10h-family_15h/Makefile.inc
index 6cd2513..eada52a 100644
--- a/src/cpu/amd/family_10h-family_15h/Makefile.inc
+++ b/src/cpu/amd/family_10h-family_15h/Makefile.inc
@@ -7,13 +7,3 @@ romstage-y += ram_calc.c
 ramstage-y += ram_calc.c
 ramstage-y += monotonic_timer.c
 ramstage-$(CONFIG_HAVE_ACPI_TABLES) += powernow_acpi.c
-
-# Microcode for Family 10h, 11h, 12h, and 14h
-cbfs-files-$(CONFIG_CPU_MICROCODE_MULTIPLE_FILES) += microcode_amd.bin
-microcode_amd.bin-file := 3rdparty/blobs/cpu/amd/family_10h-family_14h/microcode_amd.bin
-microcode_amd.bin-type := microcode
-
-# Microcode for Family 15h
-cbfs-files-$(CONFIG_CPU_MICROCODE_MULTIPLE_FILES) += microcode_amd_fam15h.bin
-microcode_amd_fam15h.bin-file := 3rdparty/blobs/cpu/amd/family_15h/microcode_amd_fam15h.bin
-microcode_amd_fam15h.bin-type := microcode
-- 
1.9.1