diff options
author | Sam Protsenko | 2019-08-15 20:25:07 +0300 |
---|---|---|
committer | Tom Rini | 2019-10-15 09:56:04 -0400 |
commit | bb63363f2a7fc8fb1767549698df9a22c661d169 (patch) | |
tree | b48db73ce3cad7752c9f1a84200b7477cf82b8c6 /include | |
parent | 35e99836ca8a7c22ce4c94e95d872620acffd14d (diff) |
image: android: Support boot image v1 and v2
In new versions of Android Boot Image next fields are added to the
header (and corresponding payloads are added to the image itself):
- v1: Recovery DTBO
- v2: DTB
Account for these new fields in next functions:
1. android_image_get_end(): as v1 and v2 have new payloads in the
image, the calculation of image end address should be extended
correspondingly; this is used e.g. by "bootm" command when booting
the kernel from Android Boot Image
2. android_print_contents(): new fields values in v1 and v2 should be
printed; the result of this function can be seen e.g. in "iminfo"
command
This commit doesn't add the means for working with new payloads in v1
and v2 images (it will be done in further commits), it only updates
existing functions w.r.t. changes in boot image v1/v2.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions