diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-12 11:58:53 +0000 |
commit | fc54b9bf158eea9cae647ce2c58f7d9989af173a (patch) | |
tree | 54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch | |
parent | d9f49b62b28ebd245587854efa484974d90debbf (diff) |
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch b/target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch new file mode 100644 index 0000000000..67f867fcae --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch @@ -0,0 +1,40 @@ +From e144bf41b8674bce731e1afebcd04030a85b4a5b Mon Sep 17 00:00:00 2001 +From: Harald Welte <laforge@openmoko.org> +Date: Tue, 21 Oct 2008 08:13:09 +0100 +Subject: [PATCH] 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> +--- + arch/arm/mach-s3c2440/mach-gta02.c | 10 +++++----- + 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 1a9d823..b1aa95b 100644 +--- a/arch/arm/mach-s3c2440/mach-gta02.c ++++ b/arch/arm/mach-s3c2440/mach-gta02.c +@@ -872,14 +872,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, +-- +1.5.6.5 + |