diff options
| author | Jan Kiszka <[email protected]> | 2025-12-11 17:34:56 +0100 |
|---|---|---|
| committer | Tien Fong Chee <[email protected]> | 2025-12-17 18:50:32 +0800 |
| commit | 94d0c1d3edb4a71b49c1ff85f5f3990c727bcaba (patch) | |
| tree | c50611c5a81904b7635106c97a680431158bbb81 /include | |
| parent | a47b1e165e69418ef66fe74b32b2df170fe68907 (diff) | |
spl: mmc: Account for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE being a choice
Add SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE as condition where so
far SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION was enough - though often
by chance as both options were enabled.
Reorder the #ifdef blocks at this chance to follow the order in the
Kconfig menu.
Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Tien Fong Chee <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/part.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/part.h b/include/part.h index 6caaa6526aa..ba4a63ddc75 100644 --- a/include/part.h +++ b/include/part.h @@ -461,7 +461,8 @@ ulong disk_blk_erase(struct udevice *dev, lbaint_t start, lbaint_t blkcnt); #ifdef CONFIG_XPL_BUILD # define part_print_ptr(x) NULL # if defined(CONFIG_SPL_FS_EXT4) || defined(CONFIG_SPL_FS_FAT) || \ - defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION) + defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION) || \ + defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE) # define part_get_info_ptr(x) x # else # define part_get_info_ptr(x) NULL |
