aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/fsp_model_406dx
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-11-27 13:05:04 -0700
committerMartin Roth <martinroth@google.com>2015-12-06 18:46:12 +0100
commit7c38e1e8bc47c2842b23c565a35f8d959428ec3c (patch)
tree8c85b6227ae2d72c37f77cc68483778bb34e450b /src/cpu/intel/fsp_model_406dx
parent19fbdcc8283e0e499cb517d1149225bfadc61f03 (diff)
Remove #ifdef checks on Kconfig symbols
In coreboot, bool, hex, and int type symbols are ALWAYS defined. Change-Id: I58a36b37075988bb5ff67ac692c7d93c145b0dbc Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12560 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/cpu/intel/fsp_model_406dx')
-rw-r--r--src/cpu/intel/fsp_model_406dx/bootblock.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cpu/intel/fsp_model_406dx/bootblock.c b/src/cpu/intel/fsp_model_406dx/bootblock.c
index edbbe1b362..99a27a74af 100644
--- a/src/cpu/intel/fsp_model_406dx/bootblock.c
+++ b/src/cpu/intel/fsp_model_406dx/bootblock.c
@@ -45,10 +45,6 @@ static void check_for_warm_reset(void)
static void set_var_mtrr(int reg, uint32_t base, uint32_t size, int type)
{
-#ifndef CONFIG_CPU_ADDR_BITS
-#error "CONFIG_CPU_ADDR_BITS must be set."
-#endif
-
/* Bit Bit 32-35 of MTRRphysMask should be set to 1 */
msr_t basem, maskm;
basem.lo = base | type;