]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: mkimage: clarify header0 initialisation
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 17 Apr 2017 15:48:04 +0000 (17:48 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 10 May 2017 19:37:21 +0000 (13:37 -0600)
commitea20c9418a6ee6d6b964d2875ca815f0d2f5ed0d
tree2d776b4d9f9dc3f13770f0ca3fca1da5aad97e6e
parentb81f1f562affd6225b1d4c95d158a8f0f364f160
rockchip: mkimage: clarify header0 initialisation

This change set adds documentation to the header0 initialisation and
improves readability for the calculations of various offsets/lengths.

As the U-Boot SPL stage doesn't use any payload beyond what is covered
by init_size, we no longer add RK_MAX_BOOT_SIZE to init_boot_size.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/rkcommon.c