aboutsummaryrefslogtreecommitdiff
path: root/disk/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-11 12:10:01 -0700
committerTom Rini <trini@konsulko.com>2022-03-25 16:42:40 -0400
commit88ca8e26958b67c05844e7be85a7e983eb594793 (patch)
treeb29ada32837fa85446abe7c98180ce4baad1a9d1 /disk/Kconfig
parent5b66ebb4e97eb2d9f15db6b32602905cf6cdd033 (diff)
downloadu-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 'disk/Kconfig')
-rw-r--r--disk/Kconfig24
1 files changed, 20 insertions, 4 deletions
diff --git a/disk/Kconfig b/disk/Kconfig
index cee16a8..1370032 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -4,10 +4,6 @@ menu "Partition Types"
config PARTITIONS
bool "Enable Partition Labels (disklabels) support"
default y
- select SPL_SPRINTF if SPL
- select TPL_SPRINTF if TPL
- select SPL_STRTO if SPL
- select TPL_STRTO if TPL
help
Partition Labels (disklabels) Supported:
Zero or more of the following:
@@ -23,6 +19,26 @@ config PARTITIONS
you must configure support for at least one non-MTD partition type
as well.
+config SPL_PARTITIONS
+ bool "Enable Partition Labels (disklabels) support in SPL"
+ default y if PARTITIONS
+ select SPL_SPRINTF
+ select SPL_STRTO
+ help
+ Enable this for base partition support in SPL. The required
+ partition table types shold be enabled separately. This add a
+ small amount of size to SPL, typically 500 bytes.
+
+config TPL_PARTITIONS
+ bool "Enable Partition Labels (disklabels) support in TPL"
+ default y if PARTITIONS
+ select TPL_SPRINTF
+ select TPL_STRTO
+ help
+ Enable this for base partition support in SPL. The required
+ partition table types shold be enabled separately. This add a
+ small amount of size to SPL, typically 500 bytes.
+
config MAC_PARTITION
bool "Enable Apple's MacOS partition table"
depends on PARTITIONS