tools: env: Refactor write path of flash_io()
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 9 Mar 2018 12:13:01 +0000 (12:13 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 19 Mar 2018 20:14:19 +0000 (16:14 -0400)
commit899b5338fa695e4bb399b01861624f658e09174f
tree1939b11d105a00b8d10fe91f8ae71eefb0da7d2d
parent2deb3cac086ed1d7b62a02a41fe6645e9d07bb2b
tools: env: Refactor write path of flash_io()

Extract write path of flash_io() into a separate function. This patch
should be a functional no-op.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
tools/env/fw_env.c