flash.c change

init the flash