lib: remove FLASHMAP_OFFSET config variable
The FLASHMAP_OFFSET config variable is used in lib/fmap.c, however the fmdtool creates a fmap_config.h with a FMAP_OFFSET #define. Those 2 values are not consistent. Therefore, remove the Kconfig variable and defer to the #define generated by fmdtool. Change-Id: Ib4ecbc429e142b3e250106eea59fea1caa222917 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14765 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com>
This commit is contained in:
@@ -269,15 +269,6 @@ config NO_STAGE_CACHE
|
||||
Do not save any component in stage cache for resume path. On resume,
|
||||
all components would be read back from CBFS again.
|
||||
|
||||
config FLASHMAP_OFFSET
|
||||
hex "Flash Map Offset"
|
||||
default 0x00670000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
|
||||
default 0x00610000 if NORTHBRIDGE_INTEL_IVYBRIDGE
|
||||
default CBFS_SIZE if !ARCH_X86
|
||||
default 0
|
||||
help
|
||||
Offset of flash map in firmware image
|
||||
|
||||
# TODO: This doesn't belong here, move to src/arch/x86/Kconfig
|
||||
choice
|
||||
prompt "Bootblock behaviour"
|
||||
|
Reference in New Issue
Block a user