Ticket #697: helase403_flashentry.patch

File helase403_flashentry.patch, 1.3 KB (added by Ralf Corsepius, on 12/03/06 at 13:31:12)

helase403_flashentry.patch

  • c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S

    old new  
    191191        lis     r3,0x0100       /* size  16 MB   = 0x01000000 */
    192192        bl      ramacc          /* test memory accessibility  */
    193193        cmpi    0,0,r4,0        /* memory ok? else test smaller size */
    194         beq     ramcfgok        /* ok, we found configuration... +/
     194        beq     ramcfgok        /* ok, we found configuration... */
    195195       
    196196        lis     r2,0x0000       /* disable BR6, config not ok */
    197197        mtdcr   br6,r2          /* write to DCR BR6*/   
     
    263263        lis     r3,0x0080       /* size   8 MB   = 0x00800000 */
    264264        bl      ramacc          /* test memory accessibility  */
    265265        cmpi    0,0,r4,0        /* memory ok? else test smaller size */
    266         beq     ramcfgok        /* ok, we found configuration... +/
     266        beq     ramcfgok        /* ok, we found configuration... */
    267267       
    268268        lis     r2,0x0000       /* disable BR6, config not ok */
    269269        mtdcr   br6,r2          /* write to DCR BR6*/   
     
    333333        lis     r3,0x0040       /* size   4 MB   = 0x00400000 */
    334334        bl      ramacc          /* test memory accessibility  */
    335335        cmpi    0,0,r4,0        /* memory ok? else test smaller size */
    336         beq     ramcfgok        /* ok, we found configuration... +/
     336        beq     ramcfgok        /* ok, we found configuration... */
    337337       
    338338        lis     r2,0x0000       /* disable BR6, config not ok */
    339339        mtdcr   br6,r2          /* write to DCR BR6*/