Skip to content
Snippets Groups Projects
Commit 03858f8e authored by Eran Matityahu's avatar Eran Matityahu Committed by Stefano Babic
Browse files

imx7: Add src_base structure define macro


Add src_base structure global define macro, similarly to imx6

Signed-off-by: default avatarEran Matityahu <eran.m@variscite.com>
parent 0004b7aa
No related branches found
No related tags found
No related merge requests found
...@@ -264,6 +264,8 @@ struct src { ...@@ -264,6 +264,8 @@ struct src {
u32 ddrc_rcr; u32 ddrc_rcr;
}; };
#define src_base ((struct src *)SRC_BASE_ADDR)
#define SRC_M4_REG_OFFSET 0xC #define SRC_M4_REG_OFFSET 0xC
#define SRC_M4C_NON_SCLR_RST_OFFSET 0 #define SRC_M4C_NON_SCLR_RST_OFFSET 0
#define SRC_M4C_NON_SCLR_RST_MASK BIT(0) #define SRC_M4C_NON_SCLR_RST_MASK BIT(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment