[PATCH v1 0/2] Add for imx8x SoC get_boot_type command

Heiko Schocher
2026-01-24T05:50:55Z

add function sc_misc_get_boot_type() which requests from the
SC the current used boottype and add a comand "boottype" which
saves the current boot_type in environment variable "boottype",
so we can use this later.

Heiko Schocher (2):
imx: scu_api: implement sc_misc_get_boot_type
imx8qx: misc: add command for getting boottype

arch/arm/mach-imx/imx8/misc.c | 27 +++++++++++++++++++++++++++
drivers/misc/imx8/scu_api.c | 25 +++++++++++++++++++++++++
include/firmware/imx/sci/sci.h | 1 +
3 files changed, 53 insertions(+)

Azure build (series is in a bunch of siemens patches sending
now to mainline):
https://dev.azure.com/hs0298/hs/_build/results?buildId=202&view=results

--
2.20.1

base-commit: 5c3e84731b68d26340e6acf8e27c7c680aa55360