aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHarald Welte <laforge@openmoko.org>2008-11-19 17:11:06 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:06 +0000
commit593c39e08a0626263fe468737e02d92aab85d46b (patch)
treed675925f582fd48d2a010eecb6ccd9e528b7752f /arch
parentd5b248f08d34926f3136c2b7b611ea1aff19d238 (diff)
GTA02: Improve NAND timings
Rather than using conservative default timings for the NAND flash, use the timings as specified in the S3C2442B MCP data sheet. Signed-off-by: Harald Welte <laforge@openmoko.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index ba9afb870a6..302cdd95cef 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -880,14 +880,14 @@ static struct s3c2410_nand_set gta02_nand_sets[] = {
},
};
-/* choose a set of timings which should suit most 512Mbit
- * chips and beyond.
+/* choose a set of timings derived from S3C@2442B MCP54
+ * data sheet (K5D2G13ACM-D075 MCP Memory)
*/
static struct s3c2410_platform_nand gta02_nand_info = {
- .tacls = 20,
- .twrph0 = 60,
- .twrph1 = 20,
+ .tacls = 0,
+ .twrph0 = 25,
+ .twrph1 = 15,
.nr_sets = ARRAY_SIZE(gta02_nand_sets),
.sets = gta02_nand_sets,
.software_ecc = 1,