FSP platform microcode: Update to remove Kconfig variable
Move the Kconfig variable into a .h file - this does not need to be in Kconfig. Change-Id: I1db20790ddb32e0eb082503c6c60cbbefa818bb9 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/7646 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
@@ -102,12 +102,6 @@ config CPU_MICROCODE_CBFS_LOC
|
||||
hex
|
||||
default 0xfff10040
|
||||
|
||||
config CPU_MICROCODE_CBFS_LEN
|
||||
hex
|
||||
default 0x19800
|
||||
help
|
||||
This should be updated when the microcode patch changes.
|
||||
|
||||
config CBFS_SIZE
|
||||
hex
|
||||
default 0x200000
|
||||
|
@@ -17,6 +17,7 @@
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
cpu_microcode-$(CONFIG_CPU_MICROCODE_CBFS_GENERATE) += microcode_blob.c
|
||||
CPPFLAGS_romstage += -I$(src)/soc/intel/fsp_baytrail/microcode
|
||||
|
||||
ifneq ($(CONFIG_MICROCODE_INCLUDE_PATH),)
|
||||
ifneq ($(wildcard $(shell readlink -f "$(top)/$(CONFIG_MICROCODE_INCLUDE_PATH)")),)
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
unsigned microcode[] = {
|
||||
|
||||
/* Size is 0x19800 - update in Kconfig when the patch gets updated. */
|
||||
/* Size is 0x19800 - update in microcode_size.h when a patch gets changed. */
|
||||
#include "M0230672228.h" // M0230672: Baytrail "Super SKU" B0/B1
|
||||
#include "M013067331E.h" // M0130673: Baytrail I B2 / B3
|
||||
|
||||
|
2
src/soc/intel/fsp_baytrail/microcode/microcode_size.h
Normal file
2
src/soc/intel/fsp_baytrail/microcode/microcode_size.h
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Maximum size of the area that the FSP will search for the correct microcode */
|
||||
#define MICROCODE_REGION_LENGTH 0x19800
|
Reference in New Issue
Block a user