[U-Boot] [PATCH] fdt_support: make FDT_FIXUP_PARTITIONS depend on CMD_MTDPARTS

Simon Glass sjg at chromium.org
Fri Jul 27 00:36:06 UTC 2018


On 26 July 2018 at 14:17, Simon Glass <sjg at chromium.org> wrote:
> On 19 July 2018 at 20:04, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
>> fdt_fixup_mtdparts() calls mtdparts_init() and device_find(),
>> which are defined in cmd/mtdparts.c
>>
>> The combination of FDT_FIXUP_PARTITIONS=y and CMD_MTDPARTS=n
>> emits the following link error:
>>
>>   common/fdt_support.c:903: undefined reference to `mtdparts_init'
>>   common/fdt_support.c:914: undefined reference to `device_find'
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>> ---
>>
>>  lib/Kconfig | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list