summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAmarnath MB <amarnath.mb@ti.com>2021-06-23 17:38:04 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2021-06-29 17:49:02 -0500
commitfe0127f62033e61b0d825c3c8fddc655ae374585 (patch)
tree45d724d60a5b8457a3ec191f802cb9d4adada482 /common
parent4bf1c4b9ad1eb960ad86307b253e56c2b7eacce4 (diff)
common: make: Support show_board_info() as part of SPL build
Enable support for show_board_info() in SPL build. Signed-off-by: Amarnath MB <amarnath.mb@ti.com> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Reviewed-by: Lokesh Vutla <lokesjhvutla@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index bcf352d016..10e7f8bace 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