[PATCH 01/17] common: make: Support show_board_info() as part of SPL build
Sinthu Raja
sinthu.raja at mistralsolutions.com
Sat Jun 26 16:55:46 CEST 2021
From: Amarnath MB <amarnath.mb at ti.com>
Enable support for show_board_info() in SPL build.
Signed-off-by: Amarnath MB <amarnath.mb at ti.com>
Signed-off-by: Sinthu Raja <sinthu.raja at ti.com>
---
common/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/Makefile b/common/Makefile
index 829ea5fb42..d84886986e 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -20,7 +20,6 @@ endif
# # boards
obj-y += board_f.o
obj-y += board_r.o
-obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o
@@ -62,6 +61,8 @@ endif # !CONFIG_SPL_BUILD
obj-$(CONFIG_$(SPL_TPL_)BOOTSTAGE) += bootstage.o
obj-$(CONFIG_$(SPL_TPL_)BLOBLIST) += bloblist.o
+obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
+
ifdef CONFIG_SPL_BUILD
ifdef CONFIG_SPL_DFU
obj-$(CONFIG_DFU_OVER_USB) += dfu.o
--
2.31.1
More information about the U-Boot
mailing list