On 30 May 2017 at 15:32, Philipp Tomsich <philipp.toms...@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.toms...@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 <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot