diff options
author | Tom Rini <trini@konsulko.com> | 2023-05-25 14:27:39 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-25 14:27:39 -0400 |
commit | 6dcee70692601bd3296c86ac07d0317bf06d2b7b (patch) | |
tree | a536484ff6a341b65d195b6351d239b506cba867 /drivers/ddr/imx/phy/helper.c | |
parent | 62df7a39442902a71259568c13a4d496d5a514f4 (diff) | |
parent | ff476897ed698eae1fa439d52b30694a2b40464a (diff) |
Merge tag 'u-boot-imx-20230525' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20230525
-------------------
- i.MX93 series
- Fixes
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/16412
Diffstat (limited to 'drivers/ddr/imx/phy/helper.c')
-rw-r--r-- | drivers/ddr/imx/phy/helper.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ddr/imx/phy/helper.c b/drivers/ddr/imx/phy/helper.c index e9e0294f87d..8cd438791e5 100644 --- a/drivers/ddr/imx/phy/helper.c +++ b/drivers/ddr/imx/phy/helper.c @@ -167,8 +167,7 @@ void ddrphy_trained_csr_save(struct dram_cfg_param *ddrphy_csr, dwc_ddrphy_apb_wr(0xd0000, 0x1); } -void dram_config_save(struct dram_timing_info *timing_info, - unsigned long saved_timing_base) +void *dram_config_save(struct dram_timing_info *timing_info, unsigned long saved_timing_base) { int i = 0; struct dram_timing_info *saved_timing = (struct dram_timing_info *)saved_timing_base; @@ -217,4 +216,6 @@ void dram_config_save(struct dram_timing_info *timing_info, cfg->val = timing_info->ddrphy_pie[i].val; cfg++; } + + return (void *)cfg; } |