Refactor lm3s flash module to new kblock api.