complete fv image alloc and release function

Signed-off-by: jason <jasonchin221@gmail.com>