fmap: new API using region_device
Instead of being pointer based use the region infrastrucutre. Additionally, this removes the need for arch-specific compilation paths. The users of the new API can use the region APIs to memory map or read the region provided by the new fmap API. Change-Id: Ie36e9ff9cb554234ec394b921f029eeed6845aee Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9170 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
@@ -92,15 +92,6 @@ config CHROMEOS_RAMOOPS_RAM_SIZE
|
||||
default 0x00100000
|
||||
depends on CHROMEOS_RAMOOPS
|
||||
|
||||
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
|
||||
|
||||
config EC_SOFTWARE_SYNC
|
||||
bool "Enable EC software sync"
|
||||
default n
|
||||
|
Reference in New Issue
Block a user