2 * Copyright 2008 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * Version 2 as published by the Free Software Foundation.
11 #include <fsl_ddr_sdram.h>
12 #include <fsl_ddr_dimm_params.h>
14 void fsl_ddr_board_options(memctl_options_t
*popts
,
16 unsigned int ctrl_num
)
19 * Factors to consider for clock adjust:
20 * - number of chips on bus
25 * This needs to be determined on a board-by-board basis.
29 popts
->clk_adjust
= 7;
32 * Factors to consider for CPO:
36 popts
->cpo_override
= 0;
39 * Factors to consider for write data delay:
49 popts
->write_data_delay
= 3;
52 * Factors to consider for half-strength driver enable:
53 * - number of DIMMs installed
55 popts
->half_strength_driver_enable
= 0;