Commit 97600cb5 authored by Jacky Bai's avatar Jacky Bai
Browse files

plat: imx8m: Fix the rdc memory region slot's offset



Each memory region slot occupies 16bypte space, so
correct the the offset of config register address.

Change-Id: Ief8f21bb8ada78b5663768ee1e40f9e0eae57165
Signed-off-by: default avatarJacky Bai <ping.bai@nxp.com>
parent fa764c86
......@@ -13,9 +13,9 @@
#define MDAn(x) (IMX_RDC_BASE + 0x200 + (x) * 4)
#define PDAPn(x) (IMX_RDC_BASE + 0x400 + (x) * 4)
#define MRSAn(x) (IMX_RDC_BASE + 0x800 + (x) * 4)
#define MREAn(x) (IMX_RDC_BASE + 0x804 + (x) * 4)
#define MRCn(x) (IMX_RDC_BASE + 0x808 + (x) * 4)
#define MRSAn(x) (IMX_RDC_BASE + 0x800 + (x) * 0x10)
#define MREAn(x) (IMX_RDC_BASE + 0x804 + (x) * 0x10)
#define MRCn(x) (IMX_RDC_BASE + 0x808 + (x) * 0x10)
#define LCK BIT(31)
#define SREQ BIT(30)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment