u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] disk: part: remove dependency to ubifs for spl
@ 2022-08-08 14:45 Stefan Herbrechtsmeier
  2022-08-08 19:26 ` Simon Glass
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stefan Herbrechtsmeier @ 2022-08-08 14:45 UTC (permalink / raw)
  To: u-boot
  Cc: Stefan Herbrechtsmeier, AKASHI Takahiro, Heinrich Schuchardt,
	Oleksii Bidnichenko, Sean Anderson, Simon Glass, schspa

From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

The spl doesn't support ubifs and thereby doesn't provide the
ubifs_is_mounted function. Remove the dependency to ubifs for the spl.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

---

 disk/part.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-30  7:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08 14:45 [PATCH] disk: part: remove dependency to ubifs for spl Stefan Herbrechtsmeier
2022-08-08 19:26 ` Simon Glass
2022-08-09  7:27   ` Stefan Herbrechtsmeier
2022-08-27 12:06 ` Tom Rini
2022-08-29 15:01 ` Heinrich Schuchardt
2022-08-29 15:53   ` Stefan Herbrechtsmeier
2022-08-30  2:29     ` Simon Glass
2022-08-30  7:58       ` Stefan Herbrechtsmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).