diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-26 00:30:10 +0300 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-05-26 19:10:23 +0200 |
commit | e1fb052ed70b0471ece637f37db01bde6d4b9076 (patch) | |
tree | 8950e49321e861cebe87460886932b84d18d0c79 /src/arch | |
parent | 28d5ec9a7d8fe11175c8907cc6fa0305c469b194 (diff) | |
download | coreboot-e1fb052ed70b0471ece637f37db01bde6d4b9076.tar.xz |
CBMEM: Fix S3 resume path without EARLY_CBMEM_INIT
Implementation for cbmem_find() did not work for boards without
EARLY_CBMEM_INIT in romstage.
This is required for S3 resume to work on AGESA plaforms.
First broken with commit 0dff57d
cbmem: switch over to imd-based cbmem
Change-Id: I9c1a4f6839f5d90f825787baad2a3824a04b5bdc
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/10299
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/boot/cbmem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/x86/boot/cbmem.c b/src/arch/x86/boot/cbmem.c index f48e46aa80..ad8aacbfed 100644 --- a/src/arch/x86/boot/cbmem.c +++ b/src/arch/x86/boot/cbmem.c @@ -56,7 +56,6 @@ static inline void *saved_ramtop(void) unsigned long __attribute__((weak)) get_top_of_ram(void) { - printk(BIOS_WARNING, "WARNING: you need to define get_top_of_ram() for your chipset\n"); return 0; } |