summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_ddr_sdram.h
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2009-12-16 10:24:37 -0600
committerKumar Gala <galak@kernel.crashing.org>2010-01-05 13:49:10 -0600
commitbdc9f7b5eab8d5edd8a8cc5d80ef080836b00e85 (patch)
tree57b6745a30901b1f9ea7b33e52dae00cbd951136 /include/asm-ppc/fsl_ddr_sdram.h
parent0a71c92c7e1e565111cb34cd389a21ec500ca5c1 (diff)
downloadu-boot-imx-bdc9f7b5eab8d5edd8a8cc5d80ef080836b00e85.zip
u-boot-imx-bdc9f7b5eab8d5edd8a8cc5d80ef080836b00e85.tar.gz
u-boot-imx-bdc9f7b5eab8d5edd8a8cc5d80ef080836b00e85.tar.bz2
fsl-ddr: add the override for write leveling
add the override for write leveling sampling and start time according to specific board. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/fsl_ddr_sdram.h')
-rw-r--r--include/asm-ppc/fsl_ddr_sdram.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-ppc/fsl_ddr_sdram.h b/include/asm-ppc/fsl_ddr_sdram.h
index 69b857b..15ab675 100644
--- a/include/asm-ppc/fsl_ddr_sdram.h
+++ b/include/asm-ppc/fsl_ddr_sdram.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Freescale Semiconductor, Inc.
+ * Copyright 2008-2009 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -177,6 +177,11 @@ typedef struct memctl_options_s {
unsigned int clk_adjust; /* */
unsigned int cpo_override;
unsigned int write_data_delay; /* DQS adjust */
+
+ unsigned int wrlvl_override;
+ unsigned int wrlvl_sample; /* Write leveling */
+ unsigned int wrlvl_start;
+
unsigned int half_strength_driver_enable;
unsigned int twoT_en;
unsigned int threeT_en;