Skip to content
Snippets Groups Projects
Commit 3b58d945 authored by Wolfgang Denk's avatar Wolfgang Denk Committed by Wolfgang Denk
Browse files

Merge with /home/sr/git/u-boot/denx

parents 78d620eb 20532833
No related branches found
No related tags found
No related merge requests found
...@@ -204,6 +204,18 @@ _start_440: ...@@ -204,6 +204,18 @@ _start_440:
mfspr r1,mcsr mfspr r1,mcsr
mtspr mcsr,r1 mtspr mcsr,r1
#endif #endif
/*----------------------------------------------------------------*/
/* CCR0 init */
/*----------------------------------------------------------------*/
/* Disable store gathering & broadcast, guarantee inst/data
* cache block touch, force load/store alignment
* (see errata 1.12: 440_33)
*/
lis r1,0x0030 /* store gathering & broadcast disable */
ori r1,r1,0x6000 /* cache touch */
mtspr ccr0,r1
/*----------------------------------------------------------------*/ /*----------------------------------------------------------------*/
/* Initialize debug */ /* Initialize debug */
/*----------------------------------------------------------------*/ /*----------------------------------------------------------------*/
...@@ -225,17 +237,6 @@ _start_440: ...@@ -225,17 +237,6 @@ _start_440:
mtspr dbsr,r1 /* Clear all valid bits */ mtspr dbsr,r1 /* Clear all valid bits */
skip_debug_init: skip_debug_init:
/*----------------------------------------------------------------*/
/* CCR0 init */
/*----------------------------------------------------------------*/
/* Disable store gathering & broadcast, guarantee inst/data
* cache block touch, force load/store alignment
* (see errata 1.12: 440_33)
*/
lis r1,0x0030 /* store gathering & broadcast disable */
ori r1,r1,0x6000 /* cache touch */
mtspr ccr0,r1
#if defined (CONFIG_440SPE) #if defined (CONFIG_440SPE)
/*----------------------------------------------------------------+ /*----------------------------------------------------------------+
| Initialize Core Configuration Reg1. | Initialize Core Configuration Reg1.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment