summaryrefslogtreecommitdiff
path: root/src/cpu/intel/fsp_model_406dx/microcode_size.h
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2014-12-04 18:06:36 -0700
committerMartin Roth <gaumless@gmail.com>2014-12-05 21:40:12 +0100
commite10108a6691c804f4b917be9a25bc8af3d7cc6a1 (patch)
tree80c07347eb12374db8877b4ed3b157a6190b37cf /src/cpu/intel/fsp_model_406dx/microcode_size.h
parentdb3e2f0931a52bee6e59d09df572fd0bfb481ff9 (diff)
downloadcoreboot-e10108a6691c804f4b917be9a25bc8af3d7cc6a1.tar.xz
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>
Diffstat (limited to 'src/cpu/intel/fsp_model_406dx/microcode_size.h')
-rw-r--r--src/cpu/intel/fsp_model_406dx/microcode_size.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/intel/fsp_model_406dx/microcode_size.h b/src/cpu/intel/fsp_model_406dx/microcode_size.h
new file mode 100644
index 0000000000..b638ae5627
--- /dev/null
+++ b/src/cpu/intel/fsp_model_406dx/microcode_size.h
@@ -0,0 +1,7 @@
+/* Maximum size of the area that the FSP will search for the correct microcode */
+
+#if IS_ENABLED(CONFIG_FSP_MODEL_406DX_A1)
+ #define MICROCODE_REGION_LENGTH 0x14400
+#elif IS_ENABLED(CONFIG_FSP_MODEL_406DX_B0)
+ #define MICROCODE_REGION_LENGTH 0x14800
+#endif