• Ye Li's avatar
    MLK-16441-2 imx8qm/qxp: print commit hash for SCFW, IMX-MKIMAGE and ATF · f63ca840
    Ye Li authored
    Since we have many software running on QM/QXP, it is better to print their
    commit ids in u-boot to know their versions.
    
    This patch enables the CONFIG_ARCH_MISC_INIT. In arch_misc_init to gets the
    commit ids for SCFW and ATF via their APIs and get the commit for imx-mkimage
    at the end of u-boot.bin loading address.
    
    Once the commit ids are acquired, show them in console like:
        BuildInfo: SCFW 45c567e8, IMX-MKIMAGE cc994971, ATF 0a9efa7
    
    and set them to environment variables like:
        commit_atf=0a9efa7
        commit_mkimage=cc994971
        commit_scfw=45c567e8
    
    If old software are running which does not support provide commit it, the patch
    use 0 instead.
    Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
    Reviewed-by: 's avatarPeng Fan <peng.fan@nxp.com>
    f63ca840
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...