summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-06-15 13:07:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-06-15 15:59:35 +0200
commit62b4fe1348d03bb0147ccc70b6efe658757908b6 (patch)
treed789afd455ee669b96e6d6c809094003b05a4d2c
parentbsp/lpc24xx: Add lpc24xx_module_is_enabled() (diff)
downloadrtems-62b4fe1348d03bb0147ccc70b6efe658757908b6.tar.bz2
bsp/lpc24xx: Fix timing for M29W320E70
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/startup/start-config-emc-static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-emc-static.c b/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-emc-static.c
index f42b74aec1..3f96602d4a 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-emc-static.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/startup/start-config-emc-static.c
@@ -87,8 +87,8 @@ BSP_START_DATA_SECTION const lpc24xx_emc_static_chip_config
/* 70ns (tAVQV, tELQV) */
.waitpage = LPC24XX_PS_TO_EMCCLK(70000, 1),
- /* 45ns (tWLWH) */
- .waitwr = LPC24XX_PS_TO_EMCCLK(45000, 2),
+ /* max(30ns (tWHWL) + 45ns (tWLWH), 70ns (tAVAV)) */
+ .waitwr = LPC24XX_PS_TO_EMCCLK(75000, 2),
/* 25ns (tEHQZ) */
.waitrun = LPC24XX_PS_TO_EMCCLK(25000, 1)