summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plat/marvell/a8k/common/a8k_common.mk3
-rw-r--r--plat/marvell/a8k/common/plat_ble_setup.c14
2 files changed, 1 insertions, 16 deletions
diff --git a/plat/marvell/a8k/common/a8k_common.mk b/plat/marvell/a8k/common/a8k_common.mk
index cb5a10de..df7afff8 100644
--- a/plat/marvell/a8k/common/a8k_common.mk
+++ b/plat/marvell/a8k/common/a8k_common.mk
@@ -66,8 +66,7 @@ PLAT_BL_COMMON_SOURCES := $(PLAT_COMMON_BASE)/aarch64/a8k_common.c \
BLE_PORTING_SOURCES := $(PLAT_FAMILY_BASE)/$(PLAT)/board/dram_port.c \
$(PLAT_FAMILY_BASE)/$(PLAT)/board/marvell_plat_config.c
-BLE_SOURCES := $(MARVELL_COMMON_BASE)/sys_info.c \
- $(PLAT_COMMON_BASE)/plat_ble_setup.c \
+BLE_SOURCES := $(PLAT_COMMON_BASE)/plat_ble_setup.c \
$(MARVELL_DRV_BASE)/mochi/cp110_setup.c \
$(MARVELL_DRV_BASE)/i2c/a8k_i2c.c \
$(PLAT_COMMON_BASE)/plat_pm.c \
diff --git a/plat/marvell/a8k/common/plat_ble_setup.c b/plat/marvell/a8k/common/plat_ble_setup.c
index b97b7a61..72c525e7 100644
--- a/plat/marvell/a8k/common/plat_ble_setup.c
+++ b/plat/marvell/a8k/common/plat_ble_setup.c
@@ -36,7 +36,6 @@
#include <plat_config.h>
#include <plat_def.h>
#include <debug.h>
-#include <sys_info.h>
#include <mv_ddr_if.h>
#include <ccu.h>
#include <io_win.h>
@@ -132,16 +131,6 @@
#define EFUSE_AP_LD0_CLUSTER_DOWN_OFFS 4
-/* Notify bootloader on DRAM setup */
-void pass_dram_sys_info(struct dram_config *cfg)
-{
- set_info(DRAM_BUS_WIDTH, cfg->iface[0].bus_width);
- set_info(DRAM_CS0_SIZE, cfg->iface[0].size_mbytes);
- set_info(DRAM_CS0, 1);
- set_info(DRAM_CS1, 0);
- set_info(DRAM_CS2, 0);
- set_info(DRAM_CS3, 0);
-}
/******************************************************************************
* The routine allows to save the CCU and IO windows configuration during DRAM
* setup and restore them afterwards before exiting the BLE stage.
@@ -527,8 +516,5 @@ int ble_plat_setup(int *skip)
/* Restore the original CCU configuration before exit from BLE */
ble_plat_mmap_config(MMAP_RESTORE_SAVED);
- /* Pass DRAM information to bootloader */
- pass_dram_sys_info((struct dram_config *)plat_get_dram_data());
-
return ret;
}