]> git.baikalelectronics.ru Git - uboot.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)
commitf91925fdae186e165948f75941a6fd02e01d280a
tree830ea91708294780eb0578191b0d16f226ba4087
parente57d229df559944229f4c0798380bbf0b456803a
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