diff options
author | Simon Glass <sjg@chromium.org> | 2022-03-11 12:10:01 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-25 16:42:40 -0400 |
commit | 88ca8e26958b67c05844e7be85a7e983eb594793 (patch) | |
tree | b29ada32837fa85446abe7c98180ce4baad1a9d1 /drivers | |
parent | 5b66ebb4e97eb2d9f15db6b32602905cf6cdd033 (diff) | |
download | u-boot-88ca8e26958b67c05844e7be85a7e983eb594793.zip u-boot-88ca8e26958b67c05844e7be85a7e983eb594793.tar.gz u-boot-88ca8e26958b67c05844e7be85a7e983eb594793.tar.bz2 |
disk: Add an option for partitions in SPL
In some cases we do not want to enable partition support in SPL. Add an
option to allow this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/blk-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c index bee1cd6..f9f05f4 100644 --- a/drivers/block/blk-uclass.c +++ b/drivers/block/blk-uclass.c @@ -712,7 +712,7 @@ int blk_unbind_all(int if_type) static int blk_post_probe(struct udevice *dev) { - if (IS_ENABLED(CONFIG_PARTITIONS) && + if (CONFIG_IS_ENABLED(PARTITIONS) && IS_ENABLED(CONFIG_HAVE_BLOCK_DEVICE)) { struct blk_desc *desc = dev_get_uclass_plat(dev); |