diff options
| author | Eran Matityahu <[email protected]> | 2018-03-06 16:37:35 +0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2018-03-29 17:32:52 +0200 |
| commit | 03858f8ec6032ec74dadfae6c3849302d8f29a9b (patch) | |
| tree | 441e1fcf903b2945ff8e11b55e8b477912535527 | |
| parent | 0004b7aa8a5edac7a17208cc5551d19b7f6f59a1 (diff) | |
imx7: Add src_base structure define macro
Add src_base structure global define macro, similarly to imx6
Signed-off-by: Eran Matityahu <[email protected]>
| -rw-r--r-- | arch/arm/include/asm/arch-mx7/imx-regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h b/arch/arm/include/asm/arch-mx7/imx-regs.h index 3726f02af54..0cdb508d12b 100644 --- a/arch/arm/include/asm/arch-mx7/imx-regs.h +++ b/arch/arm/include/asm/arch-mx7/imx-regs.h @@ -264,6 +264,8 @@ struct src { u32 ddrc_rcr; }; +#define src_base ((struct src *)SRC_BASE_ADDR) + #define SRC_M4_REG_OFFSET 0xC #define SRC_M4C_NON_SCLR_RST_OFFSET 0 #define SRC_M4C_NON_SCLR_RST_MASK BIT(0) |
