projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0004b7a
)
imx7: Add src_base structure define macro
author
Eran Matityahu
<eran.m@variscite.com>
Tue, 6 Mar 2018 14:37:35 +0000
(16:37 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 29 Mar 2018 15:32:52 +0000
(17:32 +0200)
Add src_base structure global define macro, similarly to imx6
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
arch/arm/include/asm/arch-mx7/imx-regs.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-mx7/imx-regs.h
b/arch/arm/include/asm/arch-mx7/imx-regs.h
index
3726f02
..
0cdb508
100644
(file)
--- 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)