summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2023-06-08 17:09:54 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2023-06-16 11:04:41 +0200
commit82a4a255aa4898cbea16677d7e5b34cc83345f51 (patch)
treee853b3da38d384f44332e1b04823a22e48b6fcc5 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
parent90f992e6a58c0881f4978b533f19061c8255d815 (diff)
stm32mp: stm32prog: Add support of ENV partition type
Add support of "ENV" partition type in flashlayout to select the "u-boot-env" GUID, with PARTITION_U_BOOT_ENVIRONMENT = 3de21764-95bd-54bd-a5c3-4abe786f38a8, that mean a partition holding a U-Boot environment introduced by commit c0364ce1c695 ("doc/README.gpt: define partition type GUID for U-Boot environment")' Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h')
-rw-r--r--arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
index 04a899ee118..7493008c8bc 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
@@ -100,6 +100,7 @@ struct stm32_header_v2 {
enum stm32prog_part_type {
PART_BINARY,
PART_FIP,
+ PART_ENV,
PART_SYSTEM,
PART_FILESYSTEM,
RAW_IMAGE,