summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-01-04 11:51:49 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-01-17 11:16:10 +0200
commit19f9d6e2f82f32c8a8d766a54df62c49af6a657e (patch)
tree458415eeb97f112dd2ac600bc37de614a1ec4fc8 /include
parenta3a64f1f1febba2c5c8b9b22fd8b06b033f501d8 (diff)
a8k-p: ble: introduce the DRAM init using new API
New DRAM initalization flow. Change-Id: Ie7c9a7d0eb4e9cfab313ab4f5f7d4c9ef9dd7324 Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/48739 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Victor Axelrod <victora@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/plat/marvell/a8k-p/common/plat_marvell.h2
-rw-r--r--include/plat/marvell/common/mvebu.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/plat/marvell/a8k-p/common/plat_marvell.h b/include/plat/marvell/a8k-p/common/plat_marvell.h
index ded4b14b..a8eaa073 100644
--- a/include/plat/marvell/a8k-p/common/plat_marvell.h
+++ b/include/plat/marvell/a8k-p/common/plat_marvell.h
@@ -50,7 +50,7 @@ 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/include/plat/marvell/common/mvebu.h b/include/plat/marvell/common/mvebu.h
index 8b6effb3..e526efe2 100644
--- a/include/plat/marvell/common/mvebu.h
+++ b/include/plat/marvell/common/mvebu.h
@@ -57,4 +57,7 @@
*/
#define ROUND_UP_TO_POW_OF_2(number) (1 << (32 - __builtin_clz(number - 1)))
+#define _1MB_ (1024ULL*1024ULL)
+#define _1GB_ (_1MB_*1024ULL)
+
#endif /* MVEBU_H */