projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sunxi: clk: fix N formula for CPUX clocks
[oweals/u-boot.git]
/
arch
/
arm
/
include
/
asm
/
arch-sunxi
/
dram_sun8i_a83t.h
diff --git
a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
index 05b6a89e8ee86dc085d4da1c86e51e45fe13b501..842ad3cc636ee83e784593826348a75e595ee811 100644
(file)
--- a/
arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
+++ b/
arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
@@
-198,6
+198,11
@@
struct sunxi_mctl_ctl_reg {
#define MCTL_MR2 0x18 /* CWL=8 */
#define MCTL_MR3 0x0
#define MCTL_MR2 0x18 /* CWL=8 */
#define MCTL_MR3 0x0
+#define MCTL_LPDDR3_MR0 0x0
+#define MCTL_LPDDR3_MR1 0xc3 /* twr=8, bl=8 */
+#define MCTL_LPDDR3_MR2 0xa /* RL=12, CWL=6 */
+#define MCTL_LPDDR3_MR3 0x0
+
#define DRAM_TYPE_DDR3 3
#define DRAM_TYPE_LPDDR3 7
#endif /* _SUNXI_DRAM_SUN8I_A83T_H */
#define DRAM_TYPE_DDR3 3
#define DRAM_TYPE_LPDDR3 7
#endif /* _SUNXI_DRAM_SUN8I_A83T_H */