imx7: Add src_base structure define macro

Add src_base structure global define macro, similarly to imx6

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
lime2-spi
Eran Matityahu 7 years ago committed by Stefano Babic
parent 0004b7aa8a
commit 03858f8ec6
  1. 2
      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)

Loading…
Cancel
Save