diff options
author | Tom Rini <trini@konsulko.com> | 2020-04-14 08:47:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-14 08:47:07 -0400 |
commit | 142a07f2a44262d76fec609e1fcde51794a456eb (patch) | |
tree | fc2304595e16ff9315c84e76e9a12b6fbb8a01e7 /drivers/ddr/marvell/a38x/mv_ddr_topology.c | |
parent | 2af31afc7ac55b2d11676da51599c6dd679e77c3 (diff) | |
parent | c64ac3b3185aeb3846297ad7391fc6df8ecd73bf (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-marvell
- Misc enhancements to Clearfog, including board variant detection
(Joel)
- Misc enhancements to Turris Mox, including generalization of the
ARMADA37xx DDR size detection (Marek)
Diffstat (limited to 'drivers/ddr/marvell/a38x/mv_ddr_topology.c')
-rw-r--r-- | drivers/ddr/marvell/a38x/mv_ddr_topology.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ddr/marvell/a38x/mv_ddr_topology.c b/drivers/ddr/marvell/a38x/mv_ddr_topology.c index ef3b658a78..09840b1e70 100644 --- a/drivers/ddr/marvell/a38x/mv_ddr_topology.c +++ b/drivers/ddr/marvell/a38x/mv_ddr_topology.c @@ -229,6 +229,16 @@ int mv_ddr_is_ecc_ena(void) return 0; } +int mv_ddr_ck_delay_get(void) +{ + struct mv_ddr_topology_map *tm = mv_ddr_topology_map_get(); + + if (tm->ck_delay) + return tm->ck_delay; + + return -1; +} + /* translate topology map definition to real memory size in bits */ static unsigned int mem_size[] = { ADDR_SIZE_512MB, |