diff options
| author | York Sun <yorksun@freescale.com> | 2011-05-27 07:25:51 +0800 | 
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-11 13:24:20 -0500 | 
| commit | 51d498f17517c541e262ad14b043095dea6d0fe7 (patch) | |
| tree | 37fbbad6c68bc7b176663c4ff15b1b8619749590 /arch/powerpc/include/asm/fsl_ddr_sdram.h | |
| parent | d2246549c7a71a3fca240e78bbcda6951195cfe3 (diff) | |
| download | olio-uboot-2014.01-51d498f17517c541e262ad14b043095dea6d0fe7.tar.xz olio-uboot-2014.01-51d498f17517c541e262ad14b043095dea6d0fe7.zip | |
powerpc/mpc8xxx: Add 16-bit support for DDR3
Add support for 16-bit DDR bus. Also deal with system using 64- and 32-bit
DDR devices.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_ddr_sdram.h')
| -rw-r--r-- | arch/powerpc/include/asm/fsl_ddr_sdram.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/arch/powerpc/include/asm/fsl_ddr_sdram.h b/arch/powerpc/include/asm/fsl_ddr_sdram.h index 127a84039..1778cc56b 100644 --- a/arch/powerpc/include/asm/fsl_ddr_sdram.h +++ b/arch/powerpc/include/asm/fsl_ddr_sdram.h @@ -181,6 +181,9 @@ typedef struct memctl_options_partial_s {  	unsigned int all_DIMMs_minimum_tRCD_ps;  } memctl_options_partial_t; +#define DDR_DATA_BUS_WIDTH_64 0 +#define DDR_DATA_BUS_WIDTH_32 1 +#define DDR_DATA_BUS_WIDTH_16 2  /*   * Generalized parameters for memory controller configuration,   * might be a little specific to the FSL memory controller |