[PATCH v2 04/10] microblaze: Kconfig: SPL dependencies fixup

Ovidiu Panait ovidiu.panait at windriver.com
Tue Nov 30 17:33:51 CET 2021


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 at windriver.com>
---

(no changes since v1)

 arch/microblaze/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 99a17bccb3..a25a95a013 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -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
-- 
2.25.1



More information about the U-Boot mailing list