forked from Imagelibrary/rtems
PR 1420/bsps
Turn on buffered writes to DRAM. As Device Errata SECF124 notes this may cause double writes, but that's not really a big problem and benchmarking tests have shown that buffered writes do gain some performance.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2009-07-28 Eric Norum <norume@aps.anl.gov>
|
||||
|
||||
PR 1420/bsps
|
||||
* startup/bspstart.c: Turn on buffered writes to DRAM. As Device Errata
|
||||
SECF124 notes this may cause double writes, but that's not really a big
|
||||
problem and benchmarking tests have shown that buffered writes do gain
|
||||
some performance.
|
||||
|
||||
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
||||
|
||||
@@ -252,11 +252,16 @@ void bsp_start( void )
|
||||
|
||||
/*
|
||||
* Cache SDRAM
|
||||
* Enable buffered writes
|
||||
* As Device Errata SECF124 notes this may cause double writes,
|
||||
* but that's not really a big problem and benchmarking tests have
|
||||
* shown that buffered writes do gain some performance.
|
||||
*/
|
||||
mcf5282_acr0_mode = MCF5XXX_ACR_AB((uint32_t)RamBase) |
|
||||
MCF5XXX_ACR_AM((uint32_t)RamSize-1) |
|
||||
MCF5XXX_ACR_EN |
|
||||
MCF5XXX_ACR_SM_IGNORE;
|
||||
MCF5XXX_ACR_EN |
|
||||
MCF5XXX_ACR_SM_IGNORE |
|
||||
MCF5XXX_ACR_BWE;
|
||||
m68k_set_acr0(mcf5282_acr0_mode);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user