aboutsummaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-08-27 08:05:15 -0400
committerTom Rini <trini@konsulko.com>2022-08-27 08:05:15 -0400
commitcd3872ce7e5bf90424a10eda0fe405d04e82adb9 (patch)
tree752f7cfa2ab81b6b3b0608030e4d9dd135b9cfb4 /disk/part.c
parentaea087a665c447dfb89bf2113cad74ad53fa17a0 (diff)
parent53a9f9ef879fbc9ae0e6bf5330d3817ebd726e5f (diff)
Merge branch '2022-08-26-assorted-fixes'
- PCIe, NVMe and 2 UBIFS related fixes
Diffstat (limited to 'disk/part.c')
-rw-r--r--disk/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index 79955c7fb0..de1b917e84 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -479,7 +479,7 @@ int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
}
#endif
-#ifdef CONFIG_CMD_UBIFS
+#if IS_ENABLED(CONFIG_CMD_UBIFS) && !IS_ENABLED(CONFIG_SPL_BUILD)
/*
* Special-case ubi, ubi goes through a mtd, rather than through
* a regular block device.