[PATCH 11/17] android: boot: update android_image_get_data to support v3, v4