summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/ddr3_debug.c
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2018-05-10 13:28:28 +1200
committerStefan Roese <sr@denx.de>2018-05-14 10:01:56 +0200
commit00a7767766ace1f3ca3de7f9d44e145b9092bbad (patch)
treef059b8cba5f069b96a9941d823f95f18504cc9cc /drivers/ddr/marvell/a38x/ddr3_debug.c
parentc4195d5553595f12a6f5e943c9ee5e68097d7c72 (diff)
ARM: mvebu: a38x: remove some unused code
No in-tree code defines SUPPORT_STATIC_DUNIT_CONFIG or STATIC_ALGO_SUPPORT. Remove ddr3_a38x_mc_static.h and use unifdef to remove unused sections in the rest of the ddr/marvell/a38x code. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_debug.c')
-rw-r--r--drivers/ddr/marvell/a38x/ddr3_debug.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr3_debug.c b/drivers/ddr/marvell/a38x/ddr3_debug.c
index 68ab9476cc..c14400840e 100644
--- a/drivers/ddr/marvell/a38x/ddr3_debug.c
+++ b/drivers/ddr/marvell/a38x/ddr3_debug.c
@@ -867,15 +867,6 @@ static int ddr3_tip_access_atr(u32 dev_num, u32 flag_id, u32 value, u32 **ptr)
case 0x25:
*ptr = (u32 *)&is_adll_calib_before_init;
break;
-#ifdef STATIC_ALGO_SUPPORT
- case 0x26:
- *ptr = (u32 *)&(silicon_delay[0]);
- break;
-
- case 0x27:
- *ptr = (u32 *)&wl_debug_delay;
- break;
-#endif
case 0x28:
*ptr = (u32 *)&is_tune_result;
break;