]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx: Get rid of only i.MX8M SMCCC arch call
authorMarek Vasut <marex@denx.de>
Tue, 12 Apr 2022 22:40:26 +0000 (00:40 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Apr 2022 07:35:45 +0000 (09:35 +0200)
commitd4ebd9aaef8203b3c3ee0b0d8e77904bb6f79e6b
treed8aff28897a118caf2dbd8e4615e5a3443c27f9f
parent9e4ff6ca9802fea8fadcef42fbc2bf8b4d784cd0
ARM: imx: Get rid of only i.MX8M SMCCC arch call

This is the only place where i.MX8M code does SMCCC call, remove it.
The output has little value as it prints some part of commit ID, and
worse, if there is no SMC handler installed, the code outright hangs
or crashes the system.

By removing this one instance of SMCCC call, U-Boot no longer depends
on SMC handlers and can boot without hanging in any case. If there is
a need to dump this commit ID, use CMD_SMC instead and do 'smc' call
from U-Boot shell or scripts instead of hard-coding SMCCC dependency
into architecture code. This particular code can be replaced by:
 => smc 0xc2000003 0 0 0 0 0 0

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/mach-imx/imx8m/soc.c