summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvidiu Panait <[email protected]>2021-11-30 18:33:51 +0200
committerMichal Simek <[email protected]>2022-01-05 10:22:03 +0100
commit7a971dfbebf639a4a2fdf75909d6d50670c69545 (patch)
treebd8b2c5b18ee0caba3921be7b855880c7f9db484
parentb3fe1e8ff394d62b4c80117b8aa3cd82f7c364b1 (diff)
microblaze: Kconfig: SPL dependencies fixup
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
-rw-r--r--arch/microblaze/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 99a17bccb38..a25a95a0131 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