Skip to content

Add for imx8x SoC get_boot_type command

Heiko Schocher u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2imx: scu_api: implement sc_misc_get_boot_typedrivers/misc/imx8/scu_api.c include/firmware/imx/sci/sci.h+26 -00 replies
2/2imx8qx: misc: add command for getting boottypearch/arm/mach-imx/imx8/misc.c+33 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPeng Fan
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add for imx8x SoC get_boot_type command

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(+)
Signature · 3 lines
2.20.1

base-commit: f2b1dd4c6d1d549f5afddbc2323a9e8b74fce5df