[PATCH v3 06/14] spl: add UFS boot mode defines to spl.h
Balaji Selvanathan
balaji.selvanathan at oss.qualcomm.com
Mon Jun 15 09:00:02 CEST 2026
Add UFS_MODE_RAW and UFS_MODE_FS defines to include/spl.h,
mirroring the existing MMCSD_MODE_* constants. These are used
by spl_ufs_boot_mode() to select between raw sector and
filesystem boot paths in spl_ufs_load().
Reviewed-by: Varadarajan Narayanan <varadarajan.narayanan at oss.qualcomm.com>
Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
Changes in v3:
- No changes in v3
---
include/spl.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/spl.h b/include/spl.h
index 5078d7525ab..a617bc26c04 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -29,6 +29,10 @@ struct legacy_img_hdr;
#define MMCSD_MODE_FS 2
#define MMCSD_MODE_EMMCBOOT 3
+/* UFS boot modes */
+#define UFS_MODE_RAW 1
+#define UFS_MODE_FS 2
+
struct blk_desc;
struct legacy_img_hdr;
struct spl_boot_device;
--
2.34.1
More information about the U-Boot
mailing list