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:
Eric Norum
2009-07-28 19:29:44 +00:00
parent 80e932432b
commit 9bfb3c61aa
2 changed files with 14 additions and 1 deletions

View File

@@ -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-06-02 Eric Norum <norume@aps.anl.gov>
PR 1420/bsps

View File

@@ -278,11 +278,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_SM_IGNORE |
MCF5XXX_ACR_BWE;
m68k_set_acr0(mcf5282_acr0_mode);
/*