[rtems commit] bsp/lpc24xx: Fix dynamic EMC configurations

Sebastian Huber sebh at rtems.org
Thu May 9 10:36:47 UTC 2019


Module:    rtems
Branch:    master
Commit:    cf5d5d80937f0bdcd499b0237f7ed20057411f7a
Changeset: http://git.rtems.org/rtems/commit/?id=cf5d5d80937f0bdcd499b0237f7ed20057411f7a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu May  9 12:31:31 2019 +0200

bsp/lpc24xx: Fix dynamic EMC configurations

---

 bsps/arm/lpc24xx/start/start-config-emc-dynamic.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bsps/arm/lpc24xx/start/start-config-emc-dynamic.c b/bsps/arm/lpc24xx/start/start-config-emc-dynamic.c
index fe25af2..9124e4f 100644
--- a/bsps/arm/lpc24xx/start/start-config-emc-dynamic.c
+++ b/bsps/arm/lpc24xx/start/start-config-emc-dynamic.c
@@ -83,7 +83,9 @@ BSP_START_DATA_SECTION const lpc24xx_emc_dynamic_config
     .trrd = LPC24XX_PS_TO_EMCCLK(15000, 1),
 
     /* Load mode register to active or refresh command period 2 tCK */
-    .tmrd = 1 /* + 1 */
+    .tmrd = 1, /* + 1 */
+
+    .emcdlyctl = LPC24XX_EMCDLYCTL_DEFAULT
   }
 #elif defined(LPC24XX_EMC_IS42S32800D7)
   /* Dynamic Memory 0: ISSI IS42S32800D7 */
@@ -185,7 +187,8 @@ BSP_START_DATA_SECTION const lpc24xx_emc_dynamic_config
     .trfc = 5,
     .txsr = 5,
     .trrd = 3,
-    .tmrd = 2
+    .tmrd = 2,
+    .emcdlyctl = LPC24XX_EMCDLYCTL_DEFAULT
   }
 #elif defined(LPC24XX_EMC_IS42S32800B)
   {




More information about the vc mailing list