Skip to content

Commit

Permalink
[ARM] 4399/2: S3C2443: Fix SMDK2443 nand timings
Browse files Browse the repository at this point in the history
Reduce the Twrph0 timing slightly to fit on an SMDK2443. This
should still produce valid timings for the NAND devices as it
is still over the smallest device fitted to these boards.

Signed-off-by: Ben Dooks <(address hidden)>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed May 20, 2007
1 parent 7e966f3 commit 42482e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/plat-s3c24xx/common-smdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>

#include <asm/mach-types.h>
#include <asm/hardware.h>
#include <asm/io.h>
#include <asm/irq.h>
Expand Down Expand Up @@ -193,6 +194,9 @@ void __init smdk_machine_init(void)
s3c2410_gpio_setpin(S3C2410_GPF6, 1);
s3c2410_gpio_setpin(S3C2410_GPF7, 1);

if (machine_is_smdk2443())
smdk_nand_info.twrph0 = 50;

s3c_device_nand.dev.platform_data = &smdk_nand_info;

platform_add_devices(smdk_devs, ARRAY_SIZE(smdk_devs));
Expand Down

0 comments on commit 42482e3

Please sign in to comment.