package/freescale-imx/firmware-imx: refactor DDR firmware preparation
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 11 Jul 2020 21:42:38 +0000 (23:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 27 Jul 2020 19:15:51 +0000 (21:15 +0200)
commitfc23ea2a19999c2328693579f7a5209236b23c2f
treea7b19c9c8e7a779d49cef804e9885526cbdb5cd7
parent89fc19e8311acaa0589745ed973daa8eaca0060d
package/freescale-imx/firmware-imx: refactor DDR firmware preparation

The logic doing the padding and concatenation of DDR firmware was
duplicated between the DDR4 and LPDDR4 cases. This commit refactors
this logic into a single function FIRMWARE_IMX_PREPARE_DDR_FW.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Stephane Viau <stephane.viau@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/freescale-imx/firmware-imx/firmware-imx.mk