summaryrefslogtreecommitdiff
path: root/plat/imx/common/include/dram.h
diff options
context:
space:
mode:
Diffstat (limited to 'plat/imx/common/include/dram.h')
-rw-r--r--plat/imx/common/include/dram.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/imx/common/include/dram.h b/plat/imx/common/include/dram.h
index fd606f57..fa203da2 100644
--- a/plat/imx/common/include/dram.h
+++ b/plat/imx/common/include/dram.h
@@ -28,6 +28,7 @@
#include <uart.h>
#define DDRC_LPDDR4 BIT(5)
+#define DDRC_DDR4 BIT(4)
#define DDR_TYPE_MASK 0x3f
#define DDRPHY_REG(x) (0x3c000000 + 4*x)
@@ -73,6 +74,8 @@ void dram_phy_init(void);
void lpddr4_enter_retention(void);
void lpddr4_exit_retention(void);
+void ddr4_enter_retention(void);
+void ddr4_exit_retention(void);
/* lpddr4 swffc for dvfs */
void lpddr4_swffc(unsigned int dev_fsp, unsigned int tgt_freq);