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:21:24 +00:00
parent f1b90cc4bd
commit c7cf1d77ca
2 changed files with 15 additions and 2 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-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

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