summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/pit/mainboard.c15
-rw-r--r--src/mainboard/google/snow/mainboard.c15
2 files changed, 0 insertions, 30 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();
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();