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: Jacky Bai <ping.bai@nxp.com>
This commit is contained in:
Jacky Bai 2019-11-29 10:25:42 +08:00
parent fa764c865d
commit 97600cb586
1 changed files with 3 additions and 3 deletions

View File

@ -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)