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.
Changes in v2: - rebase to mainline b99da05e153 - (tag: v2026.04-rc2, origin/master, origin/HEAD) Prepare v2026.04-rc2 - add Reviewed-by from Peng - add description for the values returned, as suggested from Peng 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 | 33 +++++++++++++++++++++++++++++++++ drivers/misc/imx8/scu_api.c | 25 +++++++++++++++++++++++++ include/firmware/imx/sci/sci.h | 1 + 3 files changed, 59 insertions(+) -- 2.20.1 base-commit: f2b1dd4c6d1d549f5afddbc2323a9e8b74fce5df

