]> git.ipfire.org Git - thirdparty/u-boot.git/commit
disk: don't compile in partition support for spl/tpl if not really necessary
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 19 Apr 2022 01:01:58 +0000 (10:01 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Apr 2022 20:05:34 +0000 (22:05 +0200)
commit3fb6fa7a716309566e5e8a447e06411125e3308a
tree830ea91708294780eb0578191b0d16f226ba4087
parent38f255b96085d2e50558a16256c87ffd885f2f7e
disk: don't compile in partition support for spl/tpl if not really necessary

Under the current Kconfigs, disk/part.c will be compiled in even if none of
partition table types are enabled. This will lead to the size growth of SPL
/TPL code.

With this patch, CONFIG_PARTITIONS is selected only if, at least, one of
CONFIG_*_PARTITION is enabled.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
disk/Kconfig