summaryrefslogtreecommitdiffstats
path: root/include/configs/p1_p2_rdb_pc.h
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2011-09-16 13:21:35 -0700
committerKumar Gala <galak@kernel.crashing.org>2011-10-09 17:57:53 -0500
commit6f5e1dc531d6b4a975e39054fdf7c737cbb4d8e9 (patch)
tree4fbde6801479185b2a2c64c5a8ce65d6a9a1a9d8 /include/configs/p1_p2_rdb_pc.h
parent0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff (diff)
downloadtalos-obmc-uboot-6f5e1dc531d6b4a975e39054fdf7c737cbb4d8e9.tar.gz
talos-obmc-uboot-6f5e1dc531d6b4a975e39054fdf7c737cbb4d8e9.zip
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>
Diffstat (limited to 'include/configs/p1_p2_rdb_pc.h')
-rw-r--r--include/configs/p1_p2_rdb_pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index b9b89cfa5d..f1ef1df183 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -232,7 +232,7 @@
#define CONFIG_DDR_SPD
#define CONFIG_SYS_SPD_BUS_NUM 1
#define SPD_EEPROM_ADDRESS 0x52
-#define CONFIG_FSL_DDR_INTERACTIVE
+#undef CONFIG_FSL_DDR_INTERACTIVE
#ifdef CONFIG_P1020MBG
#define CONFIG_SYS_SDRAM_SIZE_LAW LAW_SIZE_2G
OpenPOWER on IntegriCloud