amd/model_10xxx: Drop AMD_UCODE_PATCH_FILE selection

Include microcode updates in CBFS for every CPU revision the platform
can support, as changing to different CPU revision should not require
a coreboot rebuild.

This increases CBFS usage from 2 kB to 14 kB.

Change-Id: I6bf90221a688f1a54e49641ce3ba378c5bf659f9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4521
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Nicolas Reinecke <nr@das-labor.org>
This commit is contained in:
Kyösti Mälkki 2013-12-11 13:03:04 +02:00 committed by Alexandru Gagniuc
parent 5fe1fb7a5f
commit d15cb519ad
23 changed files with 7 additions and 89 deletions

View File

@ -1,5 +1,11 @@
unsigned char microcode[] __attribute__ ((aligned(16))) = {
#include CONFIG_AMD_UCODE_PATCH_FILE
#include "mc_patch_01000086.h"
#include "mc_patch_01000095.h"
#include "mc_patch_01000096.h"
#include "mc_patch_0100009f.h"
#include "mc_patch_010000b6.h"
#include "mc_patch_010000bf.h"
#include "mc_patch_010000c4.h"
/* Dummy terminator */
0x0, 0x0, 0x0, 0x0,

View File

@ -69,10 +69,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
config VGA_BIOS_ID
string
default "1002,9712"

View File

@ -69,8 +69,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
endif #BOARD_AMD_BIMINI_FAM10

View File

@ -57,10 +57,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000095.h"
config VGA_BIOS_ID
string
default "1002,9615"

View File

@ -58,8 +58,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000095.h"
endif # BOARD_AMD_SERENGETI_CHEETAH_FAM10

View File

@ -57,10 +57,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
config VGA_BIOS
bool
default n

View File

@ -72,10 +72,6 @@ config IRQ_SLOT_COUNT
int
default 13
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000095.h"
config CK804_PCI_E_X
int
default 1

View File

@ -56,8 +56,4 @@ config IRQ_SLOT_COUNT
int
default 18
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
endif

View File

@ -57,8 +57,4 @@ config IRQ_SLOT_COUNT
int
default 19
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
endif

View File

@ -59,8 +59,4 @@ config IRQ_SLOT_COUNT
int
default 19
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_0100009f.h"
endif

View File

@ -67,10 +67,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000bf.h"
config VGA_BIOS_ID
string
default "1002,9715"

View File

@ -69,10 +69,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
config VGA_BIOS_ID
string
default "1002,9712"

View File

@ -57,8 +57,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
endif # BOARD_GIGABYTE_MA785GM

View File

@ -57,8 +57,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
endif # BOARD_GIGABYTE_MA785GMT

View File

@ -57,8 +57,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000095.h"
endif # BOARD_GIGABYTE_MA78GM

View File

@ -64,10 +64,6 @@ config IRQ_SLOT_COUNT
int
default 15
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000095.h"
config BOOTBLOCK_MAINBOARD_INIT
string
default "mainboard/hp/dl165_g6_fam10/bootblock.c"

View File

@ -57,10 +57,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000086.h"
config VGA_BIOS_ID
string
default "1002,9615"

View File

@ -57,8 +57,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000b6.h"
endif # BOARD_JETWAY_PA78VM5

View File

@ -89,10 +89,6 @@ config APIC_ID_OFFSET
hex
default 0x00
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000096.h"
config HT3_SUPPORT
bool
default y

View File

@ -64,8 +64,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_0100009f.h"
endif # BOARD_SUPERMICRO_H8DMR_FAM10

View File

@ -62,8 +62,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_0100009f.h"
endif # BOARD_SUPERMICRO_H8QME_FAM10

View File

@ -57,8 +57,4 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_010000c4.h"
endif # BOARD_AMD_H8SCM_FAM10

View File

@ -68,10 +68,6 @@ config IRQ_SLOT_COUNT
int
default 11
config AMD_UCODE_PATCH_FILE
string
default "mc_patch_01000095.h"
config MCP55_PCI_E_X_0
int
default 1