summaryrefslogtreecommitdiff
path: root/drivers/ddr
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-08-27 09:24:43 +0300
committerStefano Babic <sbabic@denx.de>2019-10-08 17:36:36 +0300
commit4b78bb504142ebc97efae6908e666cb0608ebf86 (patch)
tree8112c83b6efac35294957441f403bff97093cf06 /drivers/ddr
parentfa99af41e0da803d42ea90e688aa8d8fc371feea (diff)
downloadu-boot-4b78bb504142ebc97efae6908e666cb0608ebf86.tar.xz
tools: imx8m_image: align spl bin image size
The loader for the DDR firmware in drivers/ddr/imx/imx8m/helper.c uses a 4-byte-aligned address to load the firmware. In cases where OF is enabled in SPL the dtb will be appended to the SPL binary and can result in a binary that is not aligned correctly. If OF is not enabled in SPL, `_end` is already aligned correctly, but this patch does not hurt. To ensure the correct alignment we use dd to create a temporary file u-boot-spl-pad.bin with the correct padding. Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de> Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/ddr')
0 files changed, 0 insertions, 0 deletions