summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanna Hawa <hannah@marvell.com>2018-03-18 18:41:51 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-03-19 12:34:53 +0200
commita69da86a2c72c79987e443debdbbd7b4d38457ba (patch)
tree419946c5cee7f82f1491e31986a59af084d73d44
parent0d16b24591941059a447875726b12c4851e3f744 (diff)
ble: ap806: remove unused function to store dram information
Change-Id: Iac0c40f03cfecefdfb9029b6fad1da753429ad28 Signed-off-by: Hanna Hawa <hannah@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/52086 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r--include/plat/marvell/a8k/common/plat_marvell.h1
-rw-r--r--plat/marvell/a8k/a3900/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a70x0/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a70x0_amc/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a70x0_cust/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a70x0_pcac/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a80x0/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a80x0_mcbin/board/dram_port.c13
-rw-r--r--plat/marvell/a8k/a80x0_ocp/board/dram_port.c13
9 files changed, 0 insertions, 105 deletions
diff --git a/include/plat/marvell/a8k/common/plat_marvell.h b/include/plat/marvell/a8k/common/plat_marvell.h
index 87d9a8a6..12773e25 100644
--- a/include/plat/marvell/a8k/common/plat_marvell.h
+++ b/include/plat/marvell/a8k/common/plat_marvell.h
@@ -76,7 +76,6 @@ int marvell_check_mpidr(u_register_t mpidr);
/* BLE utility functions */
int ble_plat_setup(int *skip);
-void *plat_get_dram_data(void);
void plat_dram_update_topology(void);
void ble_plat_pcie_ep_setup(void);
struct pci_hw_cfg *plat_get_pcie_hw_data(void);
diff --git a/plat/marvell/a8k/a3900/board/dram_port.c b/plat/marvell/a8k/a3900/board/dram_port.c
index a9ec38ae..2e9126c1 100644
--- a/plat/marvell/a8k/a3900/board/dram_port.c
+++ b/plat/marvell/a8k/a3900/board/dram_port.c
@@ -37,8 +37,6 @@
#include <debug.h>
#include <mv_ddr_if.h>
-struct dram_config dram_cfg;
-
/*
* This function may modify the default DRAM parameters
* based on information recieved from SPD or bootloader
@@ -49,11 +47,6 @@ void plat_dram_update_topology(void)
NOTICE("Gathering DRAM information\n");
}
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -89,9 +82,3 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
/* Return the board topology as defined in the board code */
return &board_topology_map;
}
-
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a70x0/board/dram_port.c b/plat/marvell/a8k/a70x0/board/dram_port.c
index 45879409..5e50d968 100644
--- a/plat/marvell/a8k/a70x0/board/dram_port.c
+++ b/plat/marvell/a8k/a70x0/board/dram_port.c
@@ -37,8 +37,6 @@
#include <debug.h>
#include <mv_ddr_if.h>
-struct dram_config dram_cfg;
-
/*
* This function may modify the default DRAM parameters
* based on information recieved from SPD or bootloader
@@ -49,11 +47,6 @@ void plat_dram_update_topology(void)
INFO("Gathering DRAM information\n");
}
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -89,9 +82,3 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
/* Return the board topology as defined in the board code */
return &board_topology_map;
}
-
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a70x0_amc/board/dram_port.c b/plat/marvell/a8k/a70x0_amc/board/dram_port.c
index 74345094..7b55a947 100644
--- a/plat/marvell/a8k/a70x0_amc/board/dram_port.c
+++ b/plat/marvell/a8k/a70x0_amc/board/dram_port.c
@@ -37,8 +37,6 @@
#include <debug.h>
#include <mv_ddr_if.h>
-struct dram_config dram_cfg;
-
/*
* This function may modify the default DRAM parameters
* based on information recieved from SPD or bootloader
@@ -49,11 +47,6 @@ void plat_dram_update_topology(void)
INFO("Gathering DRAM information\n");
}
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -89,9 +82,3 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
/* Return the board topology as defined in the board code */
return &board_topology_map;
}
-
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a70x0_cust/board/dram_port.c b/plat/marvell/a8k/a70x0_cust/board/dram_port.c
index fd732194..ac5a6c80 100644
--- a/plat/marvell/a8k/a70x0_cust/board/dram_port.c
+++ b/plat/marvell/a8k/a70x0_cust/board/dram_port.c
@@ -40,8 +40,6 @@
#include <mmio.h>
#include <a8k_i2c.h>
-struct dram_config dram_cfg;
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -78,12 +76,6 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
return &board_topology_map;
}
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
-
static void mpp_config(void)
{
uint32_t val;
@@ -117,8 +109,3 @@ void plat_dram_update_topology(void)
sizeof(tm->spd_data.all_bytes));
}
}
-
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a70x0_pcac/board/dram_port.c b/plat/marvell/a8k/a70x0_pcac/board/dram_port.c
index d0ee452f..205e5921 100644
--- a/plat/marvell/a8k/a70x0_pcac/board/dram_port.c
+++ b/plat/marvell/a8k/a70x0_pcac/board/dram_port.c
@@ -37,8 +37,6 @@
#include <debug.h>
#include <mv_ddr_if.h>
-struct dram_config dram_cfg;
-
/*
* This function may modify the default DRAM parameters
* based on information recieved from SPD or bootloader
@@ -49,11 +47,6 @@ void plat_dram_update_topology(void)
INFO("Gathering DRAM information\n");
}
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -89,9 +82,3 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
/* Return the board topology as defined in the board code */
return &board_topology_map;
}
-
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a80x0/board/dram_port.c b/plat/marvell/a8k/a80x0/board/dram_port.c
index ce7494ef..47ad9688 100644
--- a/plat/marvell/a8k/a80x0/board/dram_port.c
+++ b/plat/marvell/a8k/a80x0/board/dram_port.c
@@ -53,8 +53,6 @@
#define MVEBU_MPP_CTRL_MASK 0xf
-struct dram_config dram_cfg;
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -92,12 +90,6 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
return &board_topology_map;
}
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
-
static void mpp_config(void)
{
uintptr_t reg;
@@ -141,8 +133,3 @@ void plat_dram_update_topology(void)
sizeof(tm->spd_data.all_bytes));
}
}
-
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c b/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c
index 5d241cc5..c44c8b29 100644
--- a/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c
+++ b/plat/marvell/a8k/a80x0_mcbin/board/dram_port.c
@@ -47,8 +47,6 @@
#define MVEBU_MPP_CTRL_MASK 0xf
-struct dram_config dram_cfg;
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -86,12 +84,6 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
return &board_topology_map;
}
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
-
static void mpp_config(void)
{
uint32_t val;
@@ -129,8 +121,3 @@ void plat_dram_update_topology(void)
sizeof(tm->spd_data.all_bytes));
}
}
-
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}
diff --git a/plat/marvell/a8k/a80x0_ocp/board/dram_port.c b/plat/marvell/a8k/a80x0_ocp/board/dram_port.c
index d873ae29..95a03bfd 100644
--- a/plat/marvell/a8k/a80x0_ocp/board/dram_port.c
+++ b/plat/marvell/a8k/a80x0_ocp/board/dram_port.c
@@ -40,8 +40,6 @@
#include <mmio.h>
#include <a8k_i2c.h>
-struct dram_config dram_cfg;
-
/*
* This struct provides the DRAM training code with
* the appropriate board DRAM configuration
@@ -78,12 +76,6 @@ struct mv_ddr_topology_map *mv_ddr_topology_map_get(void)
return &board_topology_map;
}
-struct dram_config *mv_ddr_dram_config_get(void)
-{
- /* Return dram configuration as defined in the board code */
- return &dram_cfg;
-}
-
/*
* This function may modify the default DRAM parameters
* based on information recieved from SPD or bootloader
@@ -92,8 +84,3 @@ struct dram_config *mv_ddr_dram_config_get(void)
void plat_dram_update_topology(void)
{
}
-
-void *plat_get_dram_data(void)
-{
- return &dram_cfg;
-}