Merge pull request #171 from askeing/v2.0

Refactoring the controllers of flash_pvt
Merge pull request #172 from askeing/v2.0

Refactoring the TK mode flash_pvt.