diff options
| author | AKASHI Takahiro <[email protected]> | 2022-04-19 10:01:54 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-04-23 22:05:33 +0200 |
| commit | 2a0d1881ac10a447cc7743c79385f744eb494718 (patch) | |
| tree | ab6a2148acd026c90739bbc1a5557f138e8e809d /doc/develop | |
| parent | 37168e396450f3a915c8a9ae9fa65caa3168920b (diff) | |
disk: define nullified functions for !PARTITIONS
Some defconfig enables CMD_PART even if none of any partition table
types (CONFIG_*_PARTITION) are enabled.
This will lead to the size growth in SPL/TPL code since disk/part.c
will be compiled in any way.
We will change disk/Kconfig later so that CONFIG_PARTITIONS is only
enabled when, at least, one of CONFIG_*_PARTITION is enabled.
To make the build work (in particular, "part" command) correctly,
a few functions should be defined as void functions in case of
!CONFIG_PARTITIONS.
Signed-off-by: AKASHI Takahiro <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
