[PATCH v4 1/3] binman: imx8mimage: Generate FSPI header in binman instead of mkimage

Simon Glass sjg at chromium.org
Thu Jul 9 03:24:33 CEST 2026


Hi Marek,

On 2026-07-05T21:19:05, Marek Vasut <marex at nabladev.com> wrote:
> binman: imx8mimage: Generate FSPI header in binman instead of mkimage
>
> Stop depending on the current mkimage method of generating the FSPI
> header, instead generate the FSPI header within binman itself. This
> is more flexible, as the FSPI header properties can be configured
> from within the board-specific DT instead of being hard-coded in
> mkimage at build time.
>
> Acked-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Marek Vasut <marex at nabladev.com>
>
> tools/binman/etype/nxp_imx8mimage.py               | 95 ++++++++++++++++++++--
>  tools/binman/ftest.py                              | 23 +++---
>  tools/binman/test/vendor/nxp_imx8m_fspi.dts        |  1 -
>  .../nxp_imx8m_fspi_fail_columnadresswidth.dts      | 19 +++++
>  ...fail.dts => nxp_imx8m_fspi_fail_devicetype.dts} |  3 +-
>  .../vendor/nxp_imx8m_fspi_fail_flashpadtype.dts    | 19 +++++
>  .../nxp_imx8m_fspi_fail_readsampleclksrc.dts       | 19 +++++
>  .../vendor/nxp_imx8m_fspi_fail_serialclkfreq.dts   | 19 +++++
>  tools/binman/test/vendor/nxp_imx8m_fspi_pass.dts   |  1 -
>  9 files changed, 178 insertions(+), 21 deletions(-)

I'm not sure if you are planning on a v4 based on my other comments.
In any case:

Reviewed-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list