summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
diff options
context:
space:
mode:
authorJames Yang <James.Yang@freescale.com>2013-01-07 14:01:03 +0000
committerAndy Fleming <afleming@freescale.com>2013-01-30 11:25:14 -0600
commite8ba6c503ffea6bcb7abba3638cc3f880d060504 (patch)
tree60272a38bef6d491951cd70e2ed914133e0d99bd /arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
parent02a9ce7187bae8f4dafcc8201d85e12d073f8151 (diff)
downloadu-boot-imx-e8ba6c503ffea6bcb7abba3638cc3f880d060504.zip
u-boot-imx-e8ba6c503ffea6bcb7abba3638cc3f880d060504.tar.gz
u-boot-imx-e8ba6c503ffea6bcb7abba3638cc3f880d060504.tar.bz2
powerpc/mpc8xxxx: FSL DDR debugger auto run of stored commands
This patch adds the ability for the FSL DDR interactive debugger to automatically run the sequence of commands stored in the ddr_interactive environment variable. Commands are separated using ';'. ddr_interactive=compute; edit c0 d0 dimmparms caslat_X 0x3FC0; go Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/ddr/ddr.h')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/ddr/ddr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h b/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
index c8b0f91..4dd55fc 100644
--- a/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
+++ b/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
@@ -86,7 +86,8 @@ void fsl_ddr_set_lawbar(
unsigned int memctl_interleaved,
unsigned int ctrl_num);
-unsigned long long fsl_ddr_interactive(fsl_ddr_info_t *pinfo);
+int fsl_ddr_interactive_env_var_exists(void);
+unsigned long long fsl_ddr_interactive(fsl_ddr_info_t *pinfo, int var_is_set);
void fsl_ddr_get_spd(generic_spd_eeprom_t *ctrl_dimms_spd,
unsigned int ctrl_num);