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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user