projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ac5861
)
arm: at91: mpddrc: add missing MPDDRC_MD defines
author
Heiko Schocher
<hs@denx.de>
Wed, 17 Aug 2016 07:13:23 +0000
(09:13 +0200)
committer
Andreas Bießmann
<andreas@biessmann.org>
Fri, 28 Oct 2016 16:37:13 +0000
(18:37 +0200)
add missing MPDDRC_MD defines
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
arch/arm/mach-at91/include/mach/atmel_mpddrc.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
index d37d9082cdbbe7bb8c6c587cfb301c53a32fecf8..f6bcecda383832a630cf117923cfa6d96661bbff 100644
(file)
--- a/
arch/arm/mach-at91/include/mach/atmel_mpddrc.h
+++ b/
arch/arm/mach-at91/include/mach/atmel_mpddrc.h
@@
-147,6
+147,9
@@
int ddr3_init(const unsigned int base,
#define ATMEL_MPDDRC_TPR2_TFAW_MASK 0xf
/* Bit field in Memory Device Register */
+#define ATMEL_MPDDRC_MD_SDR_SDRAM 0x0
+#define ATMEL_MPDDRC_MD_LP_SDR_SDRAM 0x1
+#define ATMEL_MPDDRC_MD_DDR_SDRAM 0x2
#define ATMEL_MPDDRC_MD_LPDDR_SDRAM 0x3
#define ATMEL_MPDDRC_MD_DDR3_SDRAM 0x4
#define ATMEL_MPDDRC_MD_LPDDR3_SDRAM 0x5