Ticket #697: helase403_flashentry.patch
File helase403_flashentry.patch, 1.3 KB (added by Ralf Corsepius, on 12/03/06 at 13:31:12) |
---|
-
c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S
old new 191 191 lis r3,0x0100 /* size 16 MB = 0x01000000 */ 192 192 bl ramacc /* test memory accessibility */ 193 193 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... */ 195 195 196 196 lis r2,0x0000 /* disable BR6, config not ok */ 197 197 mtdcr br6,r2 /* write to DCR BR6*/ … … 263 263 lis r3,0x0080 /* size 8 MB = 0x00800000 */ 264 264 bl ramacc /* test memory accessibility */ 265 265 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... */ 267 267 268 268 lis r2,0x0000 /* disable BR6, config not ok */ 269 269 mtdcr br6,r2 /* write to DCR BR6*/ … … 333 333 lis r3,0x0040 /* size 4 MB = 0x00400000 */ 334 334 bl ramacc /* test memory accessibility */ 335 335 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... */ 337 337 338 338 lis r2,0x0000 /* disable BR6, config not ok */ 339 339 mtdcr br6,r2 /* write to DCR BR6*/