]> git.sur5r.net Git - u-boot/commitdiff
fsl-ddr: use the 1T timing as default configuration
authorDave Liu <daveliu@freescale.com>
Fri, 21 Nov 2008 08:31:43 +0000 (16:31 +0800)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 23 Jan 2009 23:03:14 +0000 (17:03 -0600)
For light loaded system, we use the 1T timing to gain better
memory performance, but for some heavily loaded system,
you have to add the 2T timing options to board files.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
board/freescale/mpc8540ads/ddr.c
board/freescale/mpc8544ds/ddr.c
board/freescale/mpc8560ads/ddr.c
board/freescale/mpc8610hpcd/ddr.c
board/freescale/mpc8641hpcn/ddr.c
board/stxgp3/ddr.c
board/stxssa/ddr.c
cpu/mpc8xxx/ddr/options.c

index 7850794d64ff0f6339bc07c3bd4097e73421f73e..93d1100717f8fe5216574c9ccfca3bd05074a993 100644 (file)
@@ -65,6 +65,9 @@ void fsl_ddr_board_options(memctl_options_t *popts,
         */
        popts->write_data_delay = 3;
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
+
        /*
         * Factors to consider for half-strength driver enable:
         *      - number of DIMMs installed
index 34f84a2656212e6655465e0289d2b9a897866fee..b8330eb961de4d03e2edf39d2219699656633de2 100644 (file)
@@ -75,6 +75,9 @@ void fsl_ddr_board_options(memctl_options_t *popts,
         */
        popts->write_data_delay = 3;
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
+
        /*
         * Factors to consider for half-strength driver enable:
         *      - number of DIMMs installed
index 7850794d64ff0f6339bc07c3bd4097e73421f73e..93d1100717f8fe5216574c9ccfca3bd05074a993 100644 (file)
@@ -65,6 +65,9 @@ void fsl_ddr_board_options(memctl_options_t *popts,
         */
        popts->write_data_delay = 3;
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
+
        /*
         * Factors to consider for half-strength driver enable:
         *      - number of DIMMs installed
index 414ac243a5b77c9818522b346d09a21c3be0e372..0117d136bbbbaaa984aa38f00ebd79511a1323c8 100644 (file)
@@ -74,6 +74,9 @@ void fsl_ddr_board_options(memctl_options_t *popts,
         */
        popts->write_data_delay = 3;
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
+
        /*
         * Factors to consider for half-strength driver enable:
         *      - number of DIMMs installed
index 3789b5442ece667b5e9c999649d8cd8de43bfa60..8dc249b99dc89180a76ea891ed7d3e7c13b41273 100644 (file)
@@ -162,4 +162,6 @@ void fsl_ddr_board_options(memctl_options_t *popts,
                }
        }
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
 }
index 7850794d64ff0f6339bc07c3bd4097e73421f73e..93d1100717f8fe5216574c9ccfca3bd05074a993 100644 (file)
@@ -65,6 +65,9 @@ void fsl_ddr_board_options(memctl_options_t *popts,
         */
        popts->write_data_delay = 3;
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
+
        /*
         * Factors to consider for half-strength driver enable:
         *      - number of DIMMs installed
index 7850794d64ff0f6339bc07c3bd4097e73421f73e..93d1100717f8fe5216574c9ccfca3bd05074a993 100644 (file)
@@ -65,6 +65,9 @@ void fsl_ddr_board_options(memctl_options_t *popts,
         */
        popts->write_data_delay = 3;
 
+       /* 2T timing enable */
+       popts->twoT_en = 1;
+
        /*
         * Factors to consider for half-strength driver enable:
         *      - number of DIMMs installed
index af7f73a835ae4011709192da96444d9d0600b5f7..d4702d73bc99fd287d5e7e9cd030e0edb3dab51c 100644 (file)
@@ -142,7 +142,7 @@ unsigned int populate_memctl_options(int all_DIMMs_registered,
         *      - number of components, number of active ranks
         *      - how much time you want to spend playing around
         */
-       popts->twoT_en = 1;
+       popts->twoT_en = 0;
        popts->threeT_en = 0;
 
        /*