]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
microblaze: Kconfig: SPL dependencies fixup
authorOvidiu Panait <ovidiu.panait@windriver.com>
Tue, 30 Nov 2021 16:33:51 +0000 (18:33 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 5 Jan 2022 09:22:03 +0000 (10:22 +0100)
Enable SPL_LIBCOMMON_SUPPORT and SPL_LIBGENERIC_SUPPORT if CONFIG_SPL=y, in
order to fix the following link failures:
common/spl/spl.o: in function `board_init_r':
common/spl/spl.c:755: undefined reference to `puts'
...
common/spl/spl.o: in function `board_init_r':
common/spl/spl.c:756: undefined reference to `hang'
common/spl/spl.c:740: undefined reference to `memset'

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/20211130163358.2531677-4-ovidiu.panait@windriver.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/Kconfig

index 99a17bccb38884a4c38c17cec4298c142682d490..a25a95a0131cbe8a674e3637497ceced68e328a8 100644 (file)
@@ -15,6 +15,8 @@ config TARGET_MICROBLAZE_GENERIC
        select DM_SERIAL
        select OF_CONTROL
        select SUPPORT_SPL
+       select SPL_LIBCOMMON_SUPPORT if SPL
+       select SPL_LIBGENERIC_SUPPORT if SPL
        select SYSRESET
        select DM_SPI
        select DM_SPI_FLASH