summaryrefslogtreecommitdiff
path: root/src/mainboard/google/pit
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-12-23 12:14:13 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-06 11:22:14 +0100
commit732cee31a6ab9b796043cb2455f4a19765a95c5a (patch)
tree70d0217bd4c9b3455c6ab89417a7bb2f51006105 /src/mainboard/google/pit
parentc79dfdb9910ba368e3473f758c84b0f24064833f (diff)
ARMv7: Remove static CBMEM allocation
The calculations for static allocation are no longer valid. Change-Id: I6740cdcec789abddf78485a0edaf24882ef8c2a5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4569 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/mainboard/google/pit')
-rw-r--r--src/mainboard/google/pit/mainboard.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mainboard/google/pit/mainboard.c b/src/mainboard/google/pit/mainboard.c
index f25c2a55b2..190ad23e67 100644
--- a/src/mainboard/google/pit/mainboard.c
+++ b/src/mainboard/google/pit/mainboard.c
@@ -428,25 +428,10 @@ static void mainboard_init(device_t dev)
backlight_en();
}
-#if !CONFIG_DYNAMIC_CBMEM
-void get_cbmem_table(uint64_t *base, uint64_t *size)
-{
- *size = CONFIG_COREBOOT_TABLES_SIZE;
- *base = CONFIG_SYS_SDRAM_BASE +
- ((unsigned)CONFIG_DRAM_SIZE_MB << 20ULL) -
- CONFIG_COREBOOT_TABLES_SIZE;
-}
-#endif
-
static void mainboard_enable(device_t dev)
{
dev->ops->init = &mainboard_init;
-#if !CONFIG_DYNAMIC_CBMEM
- /* set up coreboot tables */
- cbmem_initialize();
-#endif
-
/* set up dcache and MMU */
/* FIXME: this should happen via resource allocator */
exynos5420_config_l2_cache();