1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2008 Freescale Semiconductor, Inc.
8 #include <fsl_ddr_sdram.h>
9 #include <fsl_ddr_dimm_params.h>
11 void fsl_ddr_board_options(memctl_options_t *popts,
13 unsigned int ctrl_num)
16 * Factors to consider for clock adjust:
17 * - number of chips on bus
22 * This needs to be determined on a board-by-board basis.
26 popts->clk_adjust = 6;
29 * Factors to consider for CPO:
33 popts->cpo_override = 0;
36 * Factors to consider for write data delay:
46 popts->write_data_delay = 3;
49 * Factors to consider for half-strength driver enable:
50 * - number of DIMMs installed
52 popts->half_strength_driver_enable = 0;