diff options
author | Bai Ping <ping.bai@nxp.com> | 2018-10-29 18:33:58 +0800 |
---|---|---|
committer | Bai Ping <ping.bai@nxp.com> | 2018-11-02 17:33:33 +0800 |
commit | c290a9e1664628a13a5e75e2400c5cc17882fbba (patch) | |
tree | 4d7eddc29a48943019ec178ad9dcff41af90496a /plat/imx/imx8mq/include/platform_def.h | |
parent | b6e9e2d823b1ff5f4e83fa34541003df0e70e1c9 (diff) |
plat: imx8mq: refact the dram low power code
refact the dram low power related code to make it more
friendly for different dram config or different board.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8mq/include/platform_def.h')
-rw-r--r-- | plat/imx/imx8mq/include/platform_def.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/imx/imx8mq/include/platform_def.h b/plat/imx/imx8mq/include/platform_def.h index f2c3d112..488175be 100644 --- a/plat/imx/imx8mq/include/platform_def.h +++ b/plat/imx/imx8mq/include/platform_def.h @@ -69,6 +69,12 @@ #define IMX_DDR_IPS_BASE 0x3d000000 #define IMX_ROM_BASE 0x0 +#define SAVED_DRAM_TIMING_BASE 0x40000000 + +#define HW_DRAM_PLL_CFG0 (IMX_ANAMIX_BASE + 0x60) +#define HW_DRAM_PLL_CFG1 (IMX_ANAMIX_BASE + 0x64) +#define HW_DRAM_PLL_CFG2 (IMX_ANAMIX_BASE + 0x68) + #define OCRAM_S_BASE 0x00180000 #define OCRAM_S_SIZE 0x8000 #define OCRAM_S_LIMIT (OCRAM_S_BASE + OCRAM_S_SIZE) |