From 732cee31a6ab9b796043cb2455f4a19765a95c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 23 Dec 2013 12:14:13 +0200 Subject: ARMv7: Remove static CBMEM allocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The calculations for static allocation are no longer valid. Change-Id: I6740cdcec789abddf78485a0edaf24882ef8c2a5 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4569 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: David Hendricks --- src/mainboard/google/snow/mainboard.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/mainboard/google/snow') diff --git a/src/mainboard/google/snow/mainboard.c b/src/mainboard/google/snow/mainboard.c index aa11487778..23b7072592 100644 --- a/src/mainboard/google/snow/mainboard.c +++ b/src/mainboard/google/snow/mainboard.c @@ -265,25 +265,10 @@ static void mainboard_init(device_t dev) // gpio_info(); } -#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 */ exynos5250_config_l2_cache(); -- cgit v1.2.3