Skip to content

Commit

Permalink
arm: at91: mpddrc: add missing MPDDRC_MD defines
Browse files Browse the repository at this point in the history
add missing MPDDRC_MD defines

Signed-off-by: Heiko Schocher <[email protected]>
Acked-by: Wenyou Yang <[email protected]>
Reviewed-by: Andreas Bießmann <[email protected]>
  • Loading branch information
hsdenx authored and abiessmann committed Oct 28, 2016
1 parent 5ac5861 commit 20e00c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-at91/include/mach/atmel_mpddrc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20e00c1

Please sign in to comment.