diff options
| author | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
| commit | 3e4d27b06d7484040355e22eec2cbce7335d6dab (patch) | |
| tree | 9672a2bb2e4ce0edc0ab776ddf0e2ca8e39a5f62 /arch/powerpc/cpu/mpc8xxx/ddr/interactive.c | |
| parent | bad05afe083eec0467220de21683443292c5012e (diff) | |
| parent | 59852d03867108217fe88e3bfc3e1e9cedfe63c5 (diff) | |
| download | olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.tar.xz olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.zip | |
Merge git://git.denx.de/u-boot
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/ddr/interactive.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc8xxx/ddr/interactive.c | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/interactive.c b/arch/powerpc/cpu/mpc8xxx/ddr/interactive.c index f59d1051b..cb71f94ba 100644 --- a/arch/powerpc/cpu/mpc8xxx/ddr/interactive.c +++ b/arch/powerpc/cpu/mpc8xxx/ddr/interactive.c @@ -452,6 +452,8 @@ static void fsl_ddr_options_edit(fsl_ddr_info_t *pinfo,  		CTRL_OPTIONS(rcw_override),  		CTRL_OPTIONS(rcw_1),  		CTRL_OPTIONS(rcw_2), +		CTRL_OPTIONS(ddr_cdr1), +		CTRL_OPTIONS(ddr_cdr2),  		CTRL_OPTIONS(tCKE_clock_pulse_width_ps),  		CTRL_OPTIONS(tFAW_window_four_activates_ps),  		CTRL_OPTIONS(trwt_override), @@ -518,6 +520,8 @@ static void print_fsl_memctl_config_regs(const fsl_ddr_cfg_regs_t *ddr)  		CFG_REGS(timing_cfg_5),  		CFG_REGS(ddr_zq_cntl),  		CFG_REGS(ddr_wrlvl_cntl), +		CFG_REGS(ddr_wrlvl_cntl_2), +		CFG_REGS(ddr_wrlvl_cntl_3),  		CFG_REGS(ddr_sr_cntr),  		CFG_REGS(ddr_sdram_rcw_1),  		CFG_REGS(ddr_sdram_rcw_2), @@ -525,6 +529,7 @@ static void print_fsl_memctl_config_regs(const fsl_ddr_cfg_regs_t *ddr)  		CFG_REGS(ddr_cdr2),  		CFG_REGS(err_disable),  		CFG_REGS(err_int_en), +		CFG_REGS(ddr_eor),  	};  	static const unsigned int n_opts = ARRAY_SIZE(options); @@ -584,6 +589,8 @@ static void fsl_ddr_regs_edit(fsl_ddr_info_t *pinfo,  		CFG_REGS(timing_cfg_5),  		CFG_REGS(ddr_zq_cntl),  		CFG_REGS(ddr_wrlvl_cntl), +		CFG_REGS(ddr_wrlvl_cntl_2), +		CFG_REGS(ddr_wrlvl_cntl_3),  		CFG_REGS(ddr_sr_cntr),  		CFG_REGS(ddr_sdram_rcw_1),  		CFG_REGS(ddr_sdram_rcw_2), @@ -593,7 +600,7 @@ static void fsl_ddr_regs_edit(fsl_ddr_info_t *pinfo,  		CFG_REGS(err_int_en),  		CFG_REGS(ddr_sdram_rcw_2),  		CFG_REGS(ddr_sdram_rcw_2), - +		CFG_REGS(ddr_eor),  	};  	static const unsigned int n_opts = ARRAY_SIZE(options); @@ -689,6 +696,8 @@ static void print_memctl_options(const memctl_options_t *popts)  		CTRL_OPTIONS(rcw_override),  		CTRL_OPTIONS(rcw_1),  		CTRL_OPTIONS(rcw_2), +		CTRL_OPTIONS_HEX(ddr_cdr1), +		CTRL_OPTIONS_HEX(ddr_cdr2),  		CTRL_OPTIONS(tCKE_clock_pulse_width_ps),  		CTRL_OPTIONS(tFAW_window_four_activates_ps),  		CTRL_OPTIONS(trwt_override), @@ -1597,6 +1606,7 @@ unsigned long long fsl_ddr_interactive(fsl_ddr_info_t *pinfo)  			 * doesn't return  			 */  			do_reset(NULL, 0, 0, NULL); +			printf("Reset didn't work\n");  		}  		if (strcmp(argv[0], "recompute") == 0) { |