1
0
Fork 0
remarkable-uboot/arch/powerpc/cpu/mpc8xxx/ddr
York Sun 6f5e1dc531 powerpc/8xxx: Add support for interactive DDR programming interface
Interactive DDR debugging provides a user interface to view and modify SPD,
DIMM parameters, board options and DDR controller registers before DDR is
initialized. With this feature, developers can fine-tune DDR for board
bringup and other debugging without frequently having to reprogram the flash.

To enable this feature, define CONFIG_FSL_DDR_INTERACTIVE in board header
file and set an environment variable to activate it. Syntax:

setenv ddr_interactive on

After reset, U-boot prompts before initializing DDR controllers
FSL DDR>

The available commands are
print      print SPD and intermediate computed data
reset      reboot machine
recompute  reload SPD and options to default and recompute regs
edit       modify spd, parameter, or option
compute    recompute registers from current next_step to end
next_step  shows current next_step
help       this message
go         program the memory controller and continue with u-boot

The first command should be "compute", which reads data from DIMM SPDs and
board options, performs the calculation then stops before setting DDR
controller. A user can use "print" and "edit" commands to view and modify
anything. "Go" picks up from current step with any modification and
compltes the calculation then enables the DDR controller to continue u-boot.
"Recompute" does it over from fresh reading.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-10-09 17:57:53 -05:00
..
Makefile powerpc/8xxx: Add support for interactive DDR programming interface 2011-10-09 17:57:53 -05:00
common_timing_params.h powerpc/8xxx: Enable DDR3 RDIMM support 2010-07-26 13:16:10 -05:00
ctrl_regs.c powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver 2011-09-29 19:01:06 -05:00
ddr.h powerpc/8xxx: Add support for interactive DDR programming interface 2011-10-09 17:57:53 -05:00
ddr1_dimm_params.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr2_dimm_params.c mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements 2011-04-04 09:24:43 -05:00
ddr3_dimm_params.c powerpc/mpc8xxx: check SPD length before using part number 2011-07-11 13:24:19 -05:00
interactive.c powerpc/8xxx: Add support for interactive DDR programming interface 2011-10-09 17:57:53 -05:00
lc_common_dimm_params.c powerpc/mpc8xxx: Add DDR2 to unified DDR driver 2011-09-29 19:01:06 -05:00
main.c powerpc/8xxx: Add support for interactive DDR programming interface 2011-10-09 17:57:53 -05:00
options.c powerpc/mpc8xxx: Add DDR2 to unified DDR driver 2011-09-29 19:01:06 -05:00
util.c powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver 2011-09-29 19:01:06 -05:00