aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@microchip.com>2017-09-13 14:58:52 +0800
committerTom Rini <trini@konsulko.com>2017-09-14 16:02:45 -0400
commitb5c13daca4f27e537f8d609f5b73b0f1bb4e7a8c (patch)
tree28da8785b6b1014f53612c65d7b28329a1320b98 /arch
parentdfd6d3a9d471baf8d0f2d543398b0aad5545d297 (diff)
downloadu-boot-b5c13daca4f27e537f8d609f5b73b0f1bb4e7a8c.zip
u-boot-b5c13daca4f27e537f8d609f5b73b0f1bb4e7a8c.tar.gz
u-boot-b5c13daca4f27e537f8d609f5b73b0f1bb4e7a8c.tar.bz2
ARM: at91: mach: Add missing defines of MPDDRC
Add missing defines of Multiport DDR-SDRAM Controller (MPDDRC). Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-at91/include/mach/atmel_mpddrc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
index 803501f..40e1cf0 100644
--- a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
+++ b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
@@ -96,6 +96,10 @@ int ddr3_init(const unsigned int base,
#define ATMEL_MPDDRC_CR_DLL_RESET_ENABLED (0x1 << 7)
#define ATMEL_MPDDRC_CR_DIC_DS (0x1 << 8)
#define ATMEL_MPDDRC_CR_DIS_DLL (0x1 << 9)
+#define ATMEL_MPDDRC_CR_ZQ_INIT (0x0 << 10)
+#define ATMEL_MPDDRC_CR_ZQ_LONG (0x1 << 10)
+#define ATMEL_MPDDRC_CR_ZQ_SHORT (0x2 << 10)
+#define ATMEL_MPDDRC_CR_ZQ_RESET (0x3 << 10)
#define ATMEL_MPDDRC_CR_OCD_DEFAULT (0x7 << 12)
#define ATMEL_MPDDRC_CR_DQMS_SHARED (0x1 << 16)
#define ATMEL_MPDDRC_CR_ENRDM_ON (0x1 << 17)