diff options
author | Patrick Rudolph <siro@das-labor.org> | 2016-05-29 17:05:06 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-06-12 12:27:32 +0200 |
commit | bb9c90a2074ac0138a4d1083bf0d9f52a39b47d5 (patch) | |
tree | 364fb78606771e633c2829d5a0cdcb8147a22137 /src/northbridge/intel/common/mrc_cache.h | |
parent | 70e03fea5bd3448058abe5d03764c17326a2c017 (diff) |
nb/intel: Factor out common MRC code
Remove code duplication and use the common function
store_current_mrc_cache instead.
No functionality is changed.
Tested on Sandybridge Lenovo T520.
Change-Id: I4aa5463f1b1d5e1afbe44b4bfc659524d86204db
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/15074
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/intel/common/mrc_cache.h')
-rw-r--r-- | src/northbridge/intel/common/mrc_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/northbridge/intel/common/mrc_cache.h b/src/northbridge/intel/common/mrc_cache.h index 408a420a1a..1fb6667669 100644 --- a/src/northbridge/intel/common/mrc_cache.h +++ b/src/northbridge/intel/common/mrc_cache.h @@ -13,5 +13,6 @@ struct mrc_data_container { } __attribute__ ((packed)); struct mrc_data_container *find_current_mrc_cache(void); +struct mrc_data_container *store_current_mrc_cache(void *data, unsigned length); #endif /* NORTHBRIDGE_INTEL_COMMON_MRC_CACHE_H */ |