Lines Matching refs:flash
6 * This module takes care of the case of writing to the flash
8 * assumed that you'll be doing a complete flash update,
67 * Write bytes to flash, erasing affected sectors first.
71 * a1 - flashbase - base (phys addr) of flash area
73 * a3 - secsize - flash sector size
100 * Get KSEG1 addr of flash
143 * flash.
168 sb t0,0(secptr) # t0 = byte written to flash
175 1: lbu t2,0(secptr) # t2 = byte from flash
177 and t1,t2,0x80 # done if bit7 of flash