diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-06-09 13:55:51 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-06-09 22:06:40 +0200 |
commit | 42e6856436e6ee1f9b8ae1039ac5a0921e001377 (patch) | |
tree | 3a9d4dc8c13154aa92436d6a24a170ead884f4ce /src/lib/cbmem_stage_cache.c | |
parent | 41607a4682c75b716e342cfc773926c753fb6086 (diff) | |
download | coreboot-42e6856436e6ee1f9b8ae1039ac5a0921e001377.tar.gz coreboot-42e6856436e6ee1f9b8ae1039ac5a0921e001377.tar.bz2 coreboot-42e6856436e6ee1f9b8ae1039ac5a0921e001377.zip |
stage_cache: use cbmem init hooks
Instead of having the chipset code make the approrpiate
calls at the appropriate places use the cbmem init hooks
to take the appropriate action. That way no chipset code
needs to be changed in order to support the external
stage cache.
Change-Id: If74e6155ae86646bde02b2e1b550ade92b8ba9bb
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/10481
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/lib/cbmem_stage_cache.c')
-rw-r--r-- | src/lib/cbmem_stage_cache.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/cbmem_stage_cache.c b/src/lib/cbmem_stage_cache.c index b9ee14e7be0a..4a114438bbba 100644 --- a/src/lib/cbmem_stage_cache.c +++ b/src/lib/cbmem_stage_cache.c @@ -22,11 +22,6 @@ #include <stage_cache.h> #include <string.h> - -/* Provide empty implementations by default. */ -void __attribute__((weak)) stage_cache_create_empty(void) {} -void __attribute__((weak)) stage_cache_recover(void) {} - /* Stage cache uses cbmem. */ void stage_cache_add(int stage_id, struct prog *stage) { |