summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanna Hawa <hannah@marvell.com>2018-01-19 11:16:46 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-02-05 19:04:25 +0200
commit95da361d6225ae53478c5a826105729db5296cd0 (patch)
treedbe4be077ae16a65bfccac6296943012df5ed6b7
parentff75e8c68491ab4eac3c2f2fd7502ff1b9e0ef79 (diff)
ble: a8k: a8k-p: remove passing unused parameter to dram_init function
Change-Id: Ibbe2491c75035c80add3e9a3e68c31eb8dca8800 Signed-off-by: Hanna Hawa <hannah@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/49232 Reviewed-by: Victor Axelrod <victora@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Tested-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r--plat/marvell/a8k-p/common/plat_ble_setup.c3
-rw-r--r--plat/marvell/a8k/common/plat_ble_setup.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/plat/marvell/a8k-p/common/plat_ble_setup.c b/plat/marvell/a8k-p/common/plat_ble_setup.c
index 17c46855..367f4395 100644
--- a/plat/marvell/a8k-p/common/plat_ble_setup.c
+++ b/plat/marvell/a8k-p/common/plat_ble_setup.c
@@ -170,8 +170,9 @@ int ble_plat_setup(int *skip)
/* Scan DIMM SPDs */
plat_dram_update_topology();
+
/* Trigger DRAM driver initialization */
- ret = dram_init(NULL);
+ ret = dram_init();
if (!ret)
ret = ble_dram_config();
diff --git a/plat/marvell/a8k/common/plat_ble_setup.c b/plat/marvell/a8k/common/plat_ble_setup.c
index a6a8f0bf..f3e638bc 100644
--- a/plat/marvell/a8k/common/plat_ble_setup.c
+++ b/plat/marvell/a8k/common/plat_ble_setup.c
@@ -604,7 +604,7 @@ int ble_plat_setup(int *skip)
cfg = (struct dram_config *)plat_get_dram_data();
/* Kick it in */
- ret = dram_init(cfg);
+ ret = dram_init();
/* Restore the original CCU configuration before exit from BLE */
ble_plat_mmap_config(MMAP_RESTORE_SAVED);