From 236609d93c76b9e108d765cd7cf0632063ea8273 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 30 Jan 2020 12:50:44 +1300 Subject: ddr: marvell: a38x: Allow boards to specify CK_DELAY parameter For some layouts it is necessary to adjust the CK_DELAY parameter to successfully complete DDR training. Add the ability to specify the CK_DELAY in the mv_ddr_topology_map. Signed-off-by: Chris Packham --- drivers/ddr/marvell/a38x/ddr_topology_def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/ddr/marvell/a38x/ddr_topology_def.h') diff --git a/drivers/ddr/marvell/a38x/ddr_topology_def.h b/drivers/ddr/marvell/a38x/ddr_topology_def.h index 950f296ff98..34196b16628 100644 --- a/drivers/ddr/marvell/a38x/ddr_topology_def.h +++ b/drivers/ddr/marvell/a38x/ddr_topology_def.h @@ -127,6 +127,9 @@ struct mv_ddr_topology_map { /* Clock enable mask */ u32 clk_enable; + + /* Clock delay */ + int ck_delay; }; enum mv_ddr_iface_mode { -- cgit v1.2.3