[brcm63xx] resync kernel configuration
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1312-GTA02-Improve-NAND-timings.patch
1 From e144bf41b8674bce731e1afebcd04030a85b4a5b Mon Sep 17 00:00:00 2001
2 From: Harald Welte <laforge@openmoko.org>
3 Date: Tue, 21 Oct 2008 08:13:09 +0100
4 Subject: [PATCH] GTA02: Improve NAND timings
5
6 Rather than using conservative default timings for the NAND flash,
7 use the timings as specified in the S3C2442B MCP data sheet.
8
9 Signed-off-by: Harald Welte <laforge@openmoko.org>
10 ---
11 arch/arm/mach-s3c2440/mach-gta02.c | 10 +++++-----
12 1 files changed, 5 insertions(+), 5 deletions(-)
13
14 diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
15 index 1a9d823..b1aa95b 100644
16 --- a/arch/arm/mach-s3c2440/mach-gta02.c
17 +++ b/arch/arm/mach-s3c2440/mach-gta02.c
18 @@ -872,14 +872,14 @@ static struct s3c2410_nand_set gta02_nand_sets[] = {
19 },
20 };
21
22 -/* choose a set of timings which should suit most 512Mbit
23 - * chips and beyond.
24 +/* choose a set of timings derived from S3C@2442B MCP54
25 + * data sheet (K5D2G13ACM-D075 MCP Memory)
26 */
27
28 static struct s3c2410_platform_nand gta02_nand_info = {
29 - .tacls = 20,
30 - .twrph0 = 60,
31 - .twrph1 = 20,
32 + .tacls = 0,
33 + .twrph0 = 25,
34 + .twrph1 = 15,
35 .nr_sets = ARRAY_SIZE(gta02_nand_sets),
36 .sets = gta02_nand_sets,
37 .software_ecc = 1,
38 --
39 1.5.6.5
40
This page took 0.043624 seconds and 5 git commands to generate.