projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ac3a9
)
disk: part: remove dependency to ubifs for spl
author
Stefan Herbrechtsmeier
<stefan.herbrechtsmeier@weidmueller.com>
Mon, 8 Aug 2022 14:45:17 +0000
(16:45 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 26 Aug 2022 19:00:33 +0000
(15:00 -0400)
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
patch
|
blob
|
history
diff --git
a/disk/part.c
b/disk/part.c
index 79955c7fb0002db1d2190087affd5c5bb0dfee00..de1b917e842b381eca9449ce4d1bcc025269c267 100644
(file)
--- 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
-#if
def 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.