summaryrefslogtreecommitdiff
path: root/src/include/boot
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-02 09:49:11 +0300
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2012-08-08 11:42:17 +0200
commit4c29d7f27d315ab93c811fb86ba246151dc84da3 (patch)
treee914849561d4df2b3da4612485c636db2bdb5936 /src/include/boot
parentcf8e4660846eb414d38dc4bb380006806430e902 (diff)
downloadcoreboot-4c29d7f27d315ab93c811fb86ba246151dc84da3.tar.xz
Do not allow modifying memory table directly
Adding ranges directly into coreboot memory table raised issues as those methods bypassed the MTRR setup. Such regions are now added as resources, so declare the functions again as static. Change-Id: If78613da40eabc5c99c49dbe2d6047cb22a71b69 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1415 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/boot')
-rw-r--r--src/include/boot/tables.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/boot/tables.h b/src/include/boot/tables.h
index 4b3f70cf4e..869da26f8c 100644
--- a/src/include/boot/tables.h
+++ b/src/include/boot/tables.h
@@ -4,9 +4,6 @@
#include <boot/coreboot_tables.h>
#include <arch/coreboot_tables.h>
-void lb_add_memory_range(struct lb_memory *mem,
- uint32_t type, uint64_t start, uint64_t size);
-
struct lb_memory *write_tables(void);
#endif /* BOOT_TABLES_H */