Changeset 3e600b2 in rtems


Ignore:
Timestamp:
Jun 13, 2012, 11:54:36 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
8462a96d
Parents:
e4bda046
git-author:
Sebastian Huber <sebastian.huber@…> (06/13/12 11:54:36)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/15/12 13:59:34)
Message:

bsp/lpc24xx: Use RAS and CAS of 2 for IS42S32800B

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc24xx/startup/start-config-emc-dynamic.c

    re4bda046 r3e600b2  
    242242  }
    243243#elif defined(LPC24XX_EMC_W9825G2JB75I) \
    244   || defined(LPC24XX_EMC_IS42S32800D7)
     244  || defined(LPC24XX_EMC_IS42S32800D7) \
     245  || defined(LPC24XX_EMC_IS42S32800B)
    245246  {
    246247    .chip_select = (volatile lpc_emc_dynamic *) &EMC_DYN_CFG0,
     
    262263    .mode = 0xa0000000 | (0x33 << 12)
    263264  }
    264 #elif defined(LPC24XX_EMC_IS42S32800B)
    265   {
    266     .chip_select = (volatile lpc_emc_dynamic *) &EMC_DYN_CFG0,
    267 
    268     /* 256MBit, 8Mx32, 4 banks, row = 12, column = 9, RBC */
    269     .config = 0x4480,
    270 
    271     #if LPC24XX_EMCCLK == 72000000U
    272       .rascas = EMC_DYN_RASCAS_RAS(3) | EMC_DYN_RASCAS_CAS(3, 0),
    273       .mode = 0xa0000000 | (0x32 << (2 + 2 + 9))
    274     #elif LPC24XX_EMCCLK == 60000000U
    275       .rascas = EMC_DYN_RASCAS_RAS(2) | EMC_DYN_RASCAS_CAS(2, 0),
    276       .mode = 0xa0000000 | (0x22 << (2 + 2 + 9))
    277     #else
    278       #error "unexpected EMCCLK"
    279     #endif
    280   }
    281265#endif
    282266};
Note: See TracChangeset for help on using the changeset viewer.