summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2010-10-19 16:08:16 +0800
committerLily Zhang <r58066@freescale.com>2010-10-19 16:35:25 +0800
commitba5bcec0bb99c7c4dd14cf3fbe38ba6e7bf05e0c (patch)
tree224bc1102dda51bcea8a49552a62e8d5152ffbb8 /include
parent73662d021d4af3e29e7c8c6e85c31a74c1a584ef (diff)
downloadu-boot-imx-ba5bcec0bb99c7c4dd14cf3fbe38ba6e7bf05e0c.zip
u-boot-imx-ba5bcec0bb99c7c4dd14cf3fbe38ba6e7bf05e0c.tar.gz
u-boot-imx-ba5bcec0bb99c7c4dd14cf3fbe38ba6e7bf05e0c.tar.bz2
ENGR00132759 MX53: use 32K CLK as GPT source
MT29F16G08MAA NAND flash was failed on MX53 ARD/RevB board, but it's fine in RevA board. After check, it's found that udelay is not accurate on MX53 ARD/RevB board because GPT uses IPG peripheral clock and assume it is 50MHZ. However IPG peripheral clock is not 50MHZ in MX53 ARD/RevB board. So it causes udelay is not accurate. This patch changes GPT clk source as 32K to make udelay accurate. Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx53_ard.h1
-rwxr-xr-xinclude/configs/mx53_ard_mfg.h1
-rw-r--r--include/configs/mx53_arm2.h1
-rw-r--r--include/configs/mx53_arm2_android.h1
-rw-r--r--include/configs/mx53_arm2_ddr3.h1
-rw-r--r--include/configs/mx53_arm2_ddr3_android.h1
-rw-r--r--include/configs/mx53_evk.h1
-rw-r--r--include/configs/mx53_evk_android.h1
-rwxr-xr-xinclude/configs/mx53_evk_mfg.h1
9 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx53_ard.h b/include/configs/mx53_ard.h
index dfff7ad..a686677 100644
--- a/include/configs/mx53_ard.h
+++ b/include/configs/mx53_ard.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_ARD
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_ard_mfg.h b/include/configs/mx53_ard_mfg.h
index 408459c..488d4d1 100755
--- a/include/configs/mx53_ard_mfg.h
+++ b/include/configs/mx53_ard_mfg.h
@@ -32,6 +32,7 @@
#define CONFIG_MX53_ARD
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_arm2.h b/include/configs/mx53_arm2.h
index 9a976b8..341eb24 100644
--- a/include/configs/mx53_arm2.h
+++ b/include/configs/mx53_arm2.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_ARM2
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_arm2_android.h b/include/configs/mx53_arm2_android.h
index 0b0dae5..a1c152a 100644
--- a/include/configs/mx53_arm2_android.h
+++ b/include/configs/mx53_arm2_android.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_ARM2
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_arm2_ddr3.h b/include/configs/mx53_arm2_ddr3.h
index ea13cfd..3d6f661 100644
--- a/include/configs/mx53_arm2_ddr3.h
+++ b/include/configs/mx53_arm2_ddr3.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_ARM2_DDR3
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_arm2_ddr3_android.h b/include/configs/mx53_arm2_ddr3_android.h
index c84563c..a8561a4 100644
--- a/include/configs/mx53_arm2_ddr3_android.h
+++ b/include/configs/mx53_arm2_ddr3_android.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_ARM2_DDR3
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_evk.h b/include/configs/mx53_evk.h
index 8b9a1df..b53b5e4 100644
--- a/include/configs/mx53_evk.h
+++ b/include/configs/mx53_evk.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_EVK
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_evk_android.h b/include/configs/mx53_evk_android.h
index 1dc2818..0e53654 100644
--- a/include/configs/mx53_evk_android.h
+++ b/include/configs/mx53_evk_android.h
@@ -31,6 +31,7 @@
#define CONFIG_MX53_EVK
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT
diff --git a/include/configs/mx53_evk_mfg.h b/include/configs/mx53_evk_mfg.h
index 71f403b..bac8515 100755
--- a/include/configs/mx53_evk_mfg.h
+++ b/include/configs/mx53_evk_mfg.h
@@ -32,6 +32,7 @@
#define CONFIG_MX53_EVK
#define CONFIG_FLASH_HEADER
#define CONFIG_FLASH_HEADER_OFFSET 0x400
+#define CONFIG_MX53_CLK32 32768
#define CONFIG_SKIP_RELOCATE_UBOOT