[dev] flash: Split up flash_init and set_ptable into separate functions.

Update the users of this function.

Signed-off-by: Dima Zavin <dima@android.com>
4 files changed