aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/nvm.c
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/soc/intel/fsp_baytrail/nvm.c
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/soc/intel/fsp_baytrail/nvm.c')
-rw-r--r--src/soc/intel/fsp_baytrail/nvm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/intel/fsp_baytrail/nvm.c b/src/soc/intel/fsp_baytrail/nvm.c
index 9c1c381676..896e9b0058 100644
--- a/src/soc/intel/fsp_baytrail/nvm.c
+++ b/src/soc/intel/fsp_baytrail/nvm.c
@@ -46,9 +46,6 @@ static int nvm_init(void)
/* Convert memory mapped pointer to flash offset. */
static inline uint32_t to_flash_offset(void *p)
{
-#ifndef CONFIG_ROM_SIZE
-#error CONFIG_ROM_SIZE must be set.
-#endif
return CONFIG_ROM_SIZE + (uintptr_t)p;
}