diff options
author | Rajeshwari Birje <rajeshwari.s@samsung.com> | 2013-12-26 09:44:27 +0530 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-12-30 16:50:35 +0900 |
commit | 0fcac1abde69a81ab1f773e41df612525c7d322a (patch) | |
tree | 6258ddd30ba41d5b3aa24fc2dab4d7086511567e /tools/ublimage.h | |
parent | 76dd9b6a63cb67343116aa6d99e7f922b214e729 (diff) | |
download | u-boot-0fcac1abde69a81ab1f773e41df612525c7d322a.tar.gz u-boot-0fcac1abde69a81ab1f773e41df612525c7d322a.tar.bz2 u-boot-0fcac1abde69a81ab1f773e41df612525c7d322a.zip |
SPL: EXYNOS: Prepare for variable size SPL support
When variable size SPL is used, the BL1 expects the SPL to be
encapsulated differently: instead of putting the checksum at a fixed
offset in the SPL blob, prepend the blob with a header including the
size and the checksum.
The enhancements include
- adding a command line option, '--vs' to indicate the need for the
variable size encapsulation
- padding the fixed size encapsulated blob with 0xff instead of random
memory contents
- do not silently truncate the input file, report error instead
- no need to explicitly closing files/freeing memory, this all happens
on exit; removing cleanups it makes code clearer
- profuse commenting
- modify Makefile to allow enabling the new feature per board
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'tools/ublimage.h')
0 files changed, 0 insertions, 0 deletions