equal
deleted
inserted
replaced
556 for (way = 0 ; way <Info.iAssoc ; way++) |
556 for (way = 0 ; way <Info.iAssoc ; way++) |
557 { |
557 { |
558 for (index = 0 ; index <indexNo ; index++) |
558 for (index = 0 ; index <indexNo ; index++) |
559 { |
559 { |
560 L220_COMMAND_PREAMBLE; |
560 L220_COMMAND_PREAMBLE; |
561 *ctrlReg = (way<<29) | (index<<5); //this will clean,purge or flush cache line |
561 *ctrlReg = (way<<ARML2C_WayShift) | (index<<ARML2C_IndexShift); //this will maintain a single cache line |
562 L220_COMMAND_POSTAMBLE; |
562 L220_COMMAND_POSTAMBLE; |
563 PL310_SPIN_FLASH; |
563 PL310_SPIN_FLASH; |
564 } |
564 } |
565 } |
565 } |
566 PL310_SPIN_UNLOCK; |
566 PL310_SPIN_UNLOCK; |