From d7e218133f55b302e75e90410c3e0bff2bc0c750 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Tue, 8 Mar 2016 11:23:08 +0800 Subject: MLK-12497-2 mx7d: Add reference DDR script for mx7d TO1.0 On i.MX7D TO1.1, design team adds a mux cell at the CKE path to fix the suspend mode reset issue, but seems it add extra delay on CKE path, so CKE-CK timing violated. When DDR enters self-refresh or retention for long time(> 15seconds per testing on some boards), DDR data corruption occured, not able to decrease CKE delay, so we have to add extra delay on all other signals to balance it. DDR script needs to be fine-tuned according to this hardware change. For DDR3, since the timing margin is not good, we have to decrease the DDR frequency from 533Mhz to 400Mhz. We uses TO1.1 script at default, and retains the TO1.0 script for reference. Compass link: http://compass.freescale.net/livelink/livelink?func=ll&objid=235010235&objAction=browse&sort=name Signed-off-by: Ye Li --- configs/mx7d_12x12_ddr3_arm2_TO_1_0_defconfig | 9 +++++++++ configs/mx7d_12x12_lpddr3_arm2_TO_1_0_defconfig | 9 +++++++++ configs/mx7d_19x19_ddr3_arm2_TO_1_0_defconfig | 9 +++++++++ configs/mx7d_19x19_lpddr2_arm2_TO_1_0_defconfig | 9 +++++++++ configs/mx7d_19x19_lpddr3_arm2_TO_1_0_defconfig | 9 +++++++++ configs/mx7dsabresd_TO_1_0_defconfig | 9 +++++++++ 6 files changed, 54 insertions(+) create mode 100644 configs/mx7d_12x12_ddr3_arm2_TO_1_0_defconfig create mode 100644 configs/mx7d_12x12_lpddr3_arm2_TO_1_0_defconfig create mode 100644 configs/mx7d_19x19_ddr3_arm2_TO_1_0_defconfig create mode 100644 configs/mx7d_19x19_lpddr2_arm2_TO_1_0_defconfig create mode 100644 configs/mx7d_19x19_lpddr3_arm2_TO_1_0_defconfig create mode 100644 configs/mx7dsabresd_TO_1_0_defconfig (limited to 'configs') diff --git a/configs/mx7d_12x12_ddr3_arm2_TO_1_0_defconfig b/configs/mx7d_12x12_ddr3_arm2_TO_1_0_defconfig new file mode 100644 index 0000000..3aa8877 --- /dev/null +++ b/configs/mx7d_12x12_ddr3_arm2_TO_1_0_defconfig @@ -0,0 +1,9 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_TARGET_MX7D_12X12_DDR3_ARM2=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7d_12x12_ddr3_arm2/imximage_TO_1_0.cfg,DEFAULT_FDT_FILE=\"imx7d-12x12-ddr3-arm2.dtb\"" +CONFIG_CMD_GPIO=y +CONFIG_CMD_DHCP=y +CONFIG_CMD_PING=y diff --git a/configs/mx7d_12x12_lpddr3_arm2_TO_1_0_defconfig b/configs/mx7d_12x12_lpddr3_arm2_TO_1_0_defconfig new file mode 100644 index 0000000..26fc935 --- /dev/null +++ b/configs/mx7d_12x12_lpddr3_arm2_TO_1_0_defconfig @@ -0,0 +1,9 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_TARGET_MX7D_12X12_LPDDR3_ARM2=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7d_12x12_lpddr3_arm2/imximage_TO_1_0.cfg,DEFAULT_FDT_FILE=\"imx7d-12x12-lpddr3-arm2.dtb\"" +CONFIG_CMD_GPIO=y +CONFIG_CMD_DHCP=y +CONFIG_CMD_PING=y diff --git a/configs/mx7d_19x19_ddr3_arm2_TO_1_0_defconfig b/configs/mx7d_19x19_ddr3_arm2_TO_1_0_defconfig new file mode 100644 index 0000000..8c0be36 --- /dev/null +++ b/configs/mx7d_19x19_ddr3_arm2_TO_1_0_defconfig @@ -0,0 +1,9 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_TARGET_MX7D_19X19_DDR3_ARM2=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7d_19x19_ddr3_arm2/imximage_TO_1_0.cfg,DEFAULT_FDT_FILE=\"imx7d-19x19-ddr3-arm2.dtb\"" +CONFIG_CMD_GPIO=y +CONFIG_CMD_DHCP=y +CONFIG_CMD_PING=y diff --git a/configs/mx7d_19x19_lpddr2_arm2_TO_1_0_defconfig b/configs/mx7d_19x19_lpddr2_arm2_TO_1_0_defconfig new file mode 100644 index 0000000..807b314 --- /dev/null +++ b/configs/mx7d_19x19_lpddr2_arm2_TO_1_0_defconfig @@ -0,0 +1,9 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_TARGET_MX7D_19X19_LPDDR2_ARM2=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7d_19x19_lpddr3_arm2/imximage_lpddr2_TO_1_0.cfg,DEFAULT_FDT_FILE=\"imx7d-19x19-lpddr2-arm2.dtb\"" +CONFIG_CMD_GPIO=y +CONFIG_CMD_DHCP=y +CONFIG_CMD_PING=y diff --git a/configs/mx7d_19x19_lpddr3_arm2_TO_1_0_defconfig b/configs/mx7d_19x19_lpddr3_arm2_TO_1_0_defconfig new file mode 100644 index 0000000..198ef54 --- /dev/null +++ b/configs/mx7d_19x19_lpddr3_arm2_TO_1_0_defconfig @@ -0,0 +1,9 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_TARGET_MX7D_19X19_LPDDR3_ARM2=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7d_19x19_lpddr3_arm2/imximage_TO_1_0.cfg,DEFAULT_FDT_FILE=\"imx7d-19x19-lpddr3-arm2.dtb\"" +CONFIG_CMD_GPIO=y +CONFIG_CMD_DHCP=y +CONFIG_CMD_PING=y diff --git a/configs/mx7dsabresd_TO_1_0_defconfig b/configs/mx7dsabresd_TO_1_0_defconfig new file mode 100644 index 0000000..04821aa --- /dev/null +++ b/configs/mx7dsabresd_TO_1_0_defconfig @@ -0,0 +1,9 @@ +CONFIG_ARM=y +CONFIG_ARCH_MX7=y +CONFIG_IMX_RDC=y +CONFIG_IMX_BOOTAUX=y +CONFIG_TARGET_MX7DSABRESD=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage_TO_1_0.cfg" +CONFIG_CMD_GPIO=y +CONFIG_CMD_DHCP=y +CONFIG_CMD_PING=y -- cgit v1.1