summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2015-12-08 15:32:13 +0100
committerStephen Warren <swarren@nvidia.com>2015-12-08 17:12:48 -0700
commite7d840c83fa07abf776ade2ef447f567d1fdb978 (patch)
tree68a92c7eba1ebe54ea4f585636a16713f15c41cd /configure.ac
parent24095562b75b46e5c50017d5bae0bb25f2f85370 (diff)
downloadnvidia-cbootimage-e7d840c83fa07abf776ade2ef447f567d1fdb978.tar.gz
Fix image update with image smaller than 10KiB
The BCT size check assume a quiet large image, however if the image doesn't contains a bootloader it won't be that large. Change the size check to only read the minimum data needed to verify the BCT version and get the size. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> -- Changelog: v2: * Add a comment to explain the value of NVBOOT_CONFIG_TABLE_SIZE_MIN v3: * Only read the minimum data needed Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions