projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
1) wraps the s3 parts of chipset code/memory init code with if CONFIG_HAVE_ACPI_RESUM...
[coreboot.git]
/
src
/
northbridge
/
amd
/
amdk8
/
northbridge.c
diff --git
a/src/northbridge/amd/amdk8/northbridge.c
b/src/northbridge/amd/amdk8/northbridge.c
index cc99e5123b9a59c2aa6afc70aa4f3f548d349907..f592880b9203f33eeb8f87695d9becd3813ce809 100644
(file)
--- a/
src/northbridge/amd/amdk8/northbridge.c
+++ b/
src/northbridge/amd/amdk8/northbridge.c
@@
-819,7
+819,8
@@
static u32 hoist_memory(unsigned long hole_startk, int node_id)
#endif
#if CONFIG_WRITE_HIGH_TABLES==1
-#define HIGH_TABLES_SIZE 64 /* maximum size of high tables in KB */
+#include <cbmem.h>
+#define HIGH_TABLES_SIZE ((HIGH_MEMORY_SIZE + 1024) / 1024)
extern uint64_t high_tables_base, high_tables_size;
#endif