From 4c29d7f27d315ab93c811fb86ba246151dc84da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 2 Aug 2012 09:49:11 +0300 Subject: Do not allow modifying memory table directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/1415 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) --- src/include/boot/tables.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/include/boot') 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 #include -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 */ -- cgit v1.2.3