CFI flash controller