ARM: at91: mach: Add missing defines of MPDDRC
authorWenyou Yang <wenyou.yang@microchip.com>
Wed, 13 Sep 2017 06:58:52 +0000 (14:58 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 14 Sep 2017 20:02:45 +0000 (16:02 -0400)
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>
arch/arm/mach-at91/include/mach/atmel_mpddrc.h

index 803501f5cf98c057412d8aa93f6f8fd5082f73bb..40e1cf0a0a9939b668ce8a279465b862dfa6b5a7 100644 (file)
@@ -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)