]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: mkimage: force 2KB alignment for init_size
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 30 May 2017 21:32:09 +0000 (23:32 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 13:29:22 +0000 (07:29 -0600)
commitb3282c71070808b6e856bb75571d959e11386402
tree2cfe0fba450efa032e029d1f521115517f704e29
parentf307e04fbd6b6f115919cc87e4003469294f7d37
rockchip: mkimage: force 2KB alignment for init_size

The Rockchip BootROM relies on init_size being aligned to 2KB
(see https://lists.denx.de/pipermail/u-boot/2017-May/293268.html).

This pads the image to 2KB both for SD card images and SPI images
and uses a common symbolic constant for the alignment.

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