
5 Jun
2017
5 Jun
'17
11:31 p.m.
On 30 May 2017 at 15:32, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
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
Changes in v3:
- (added patch) forces the alignment/padding to 2KB for SD images, as this would otherwise break the back-to-bootrom functionality
Changes in v2: None
tools/rkcommon.h | 1 + tools/rksd.c | 6 +++--- tools/rkspi.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-rockchip, thanks!