coreboot/src/soc/intel/common
Alexandru Gagniuc 922064162b soc/intel/common/nvm: Allow overriding to_flash_offset() function
On apollolake, the flash is memory-mapped differently, and the default
MMIO to flash calculation does not produce correct results. While the
long-term solution is to rewrite the NVM functionality to keep the
flash offset as part of its context, as a temporary measure, allow
overriding the to_flash_offset() function by declaring it weak.

Change-Id: Ic54baeba2441a08cfe1a47e235747797f6efb59b
Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc@intel.com>
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://review.coreboot.org/14247
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-04-08 18:10:58 +02:00
..
acpi soc/braswell: Add method for Wifi regulatory domain 2016-01-22 16:04:55 +01:00
acpi.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
acpi_wake_source.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
hda_verb.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
hda_verb.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig soc/intel/common: Use SoC specific routine to read/write MTRRs 2016-02-02 19:00:35 +01:00
Makefile.inc intel: Add MMA feature in coreboot 2015-11-20 18:21:25 +01:00
mma.c tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
mma.h tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
mrc_cache.c mrc_cache: add version field 2015-12-11 00:20:02 +01:00
mrc_cache.h mrc_cache: add version field 2015-12-11 00:20:02 +01:00
nvm.c soc/intel/common/nvm: Allow overriding to_flash_offset() function 2016-04-08 18:10:58 +02:00
nvm.h soc/intel/common/nvm: Allow overriding to_flash_offset() function 2016-04-08 18:10:58 +02:00
reset.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
util.c soc/intel/common: Use SoC specific routine to read/write MTRRs 2016-02-02 19:00:35 +01:00
util.h soc/intel/common: Use SoC specific routine to read/write MTRRs 2016-02-02 19:00:35 +01:00