]> git.ipfire.org Git - thirdparty/u-boot.git/commit
imx8ulp_evk: Fix ELE FW version print bug
authorYe Li <ye.li@nxp.com>
Fri, 19 Sep 2025 06:58:33 +0000 (14:58 +0800)
committerFabio Estevam <festevam@gmail.com>
Sun, 21 Sep 2025 12:08:26 +0000 (09:08 -0300)
commitaee235798724fd041af21460e7f6ba02bdeedaeb
tree3bef24429e46206e4ebe7f5c1ff394eb4a3a99e7
parent9390876cc8235fdb339a32c8b8d1af42ced74393
imx8ulp_evk: Fix ELE FW version print bug

According to latest ELE Get FW version API, the FW version word is defined
as below. The patch version only has 4 bits and minor version has 12 bits.
However, the codes use 8 bits for patch version and minor version. Add the
patch to fix the issue.

ELE firmware version
[31] - When set indicates a dirty build.
[30] - Reserved
[29:28] - Hotfix version.
[27] - When set, indicate that ELE FW is authenticated and operational.
[26:25] - Reserved
[24] - When set, indicate that an alternative FW is running.
[23:16] - Indicate the major version. This byte is checked against the
version set in the fuses to determine if the FW execution can be authorized
[15:4] - Indicate the minor version.
[3:0] - Indicate the patch version.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8ulp_evk/spl.c