summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-06-27 08:20:09 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-11 07:06:15 +0200
commite7e847cd5c60d51bf5a50663a191b4e622c5c234 (patch)
tree9428184b19d697da741c9f87280df227c7f3c872 /src/include
parent9c7d73ca3f5b2985cb0f498038a746bcc0f2cac7 (diff)
CBMEM AMD: Remove references to global high_tables_base
Prepare for removal of globals high_tables_base and _size by replacing the references with a helper function. Added set_top_of_ram_once() may be called several times, but only the first call (with non-zero argument) takes effect. Change-Id: I5b5f71630f03b6a01e9c8ff96cb78e9da03e5cc3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3894 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cbmem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index b241d34067..fe960d7c98 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -136,6 +136,7 @@ void cbmem_add_lb_mem(struct lb_memory *mem);
#ifndef __PRE_RAM__
extern uint64_t high_tables_base, high_tables_size;
+void set_top_of_ram_once(uint64_t ramtop);
void set_cbmem_toc(struct cbmem_entry *);
#endif