aboutsummaryrefslogtreecommitdiff
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)
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 dfff7ad3c..a68667773 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 408459ce7..488d4d175 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 9a976b834..341eb242c 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 0b0dae57f..a1c152a32 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 ea13cfd67..3d6f6615e 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 c84563cc1..a8561a408 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 8b9a1df03..b53b5e40e 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 1dc281819..0e53654a0 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 71f403b12..bac851542 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