mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Pass dimm parameters to populate populate controller options
Because some dimm parameters like n_ranks needs to be used with the board frequency to choose the board parameters like clk_adjust etc. in the board_specific_paramesters table of the board ddr file, we need to pass the dimm parameters to the board file. * move ddr dimm parameters header file from /cpu to /include directory. * add ddr dimm parameters to populate board specific options. * Fix fsl_ddr_board_options() for all the 8xxx boards which call this function. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
This commit is contained in:
parent
dbbbb3abef
commit
dfb49108e4
25 changed files with 91 additions and 24 deletions
|
@ -10,8 +10,8 @@
|
|||
#define FSL_DDR_MAIN_H
|
||||
|
||||
#include <asm/fsl_ddr_sdram.h>
|
||||
#include <asm/fsl_ddr_dimm_params.h>
|
||||
|
||||
#include "ddr1_2_dimm_params.h"
|
||||
#include "common_timing_params.h"
|
||||
|
||||
/*
|
||||
|
@ -71,6 +71,7 @@ compute_lowest_common_dimm_parameters(const dimm_params_t *dimm_params,
|
|||
unsigned int number_of_dimms);
|
||||
extern unsigned int populate_memctl_options(int all_DIMMs_registered,
|
||||
memctl_options_t *popts,
|
||||
dimm_params_t *pdimm,
|
||||
unsigned int ctrl_num);
|
||||
|
||||
extern unsigned int mclk_to_picos(unsigned int mclk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue