diff mbox series

[V2,01/17] common: make: Support show_board_info() as part of SPL build

Message ID 20211102140558.32460-2-sinthu.raja@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Add support for J721E SK | expand

Commit Message

Sinthu Raja Nov. 2, 2021, 2:05 p.m. UTC
From: Sinthu Raja <sinthu.raja@ti.com>

Enable support for show_board_info() in SPL build.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
---
 common/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Nov. 8, 2021, 3:49 p.m. UTC | #1
On Tue, Nov 02, 2021 at 07:35:42PM +0530, Sinthu Raja wrote:

> From: Sinthu Raja <sinthu.raja@ti.com>
> 
> Enable support for show_board_info() in SPL build.
> 
> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>

OK, but why do we need this, and won't it cause every platform that has
this defined to now grow in size?
diff mbox series

Patch

diff --git a/common/Makefile b/common/Makefile
index e7839027b6..55e455c5b8 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -19,7 +19,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
@@ -61,6 +60,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