From: Wen He Date: Thu, 16 May 2019 06:48:29 +0000 Subject: [U-Boot] [v2] board: ls1028a: Add an empty video hw init function Message-ID: <20190516064948.6263-1-wen.he_1@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The video driver causes a link failure when config VIDEO built-in, drivers/video/cfb_console.c:2022: undefined reference to `video_hw_init' Adding an empty video hw init to slove the build issue, now the board does not support display anything on U-boot. Signed-off-by: Wen He --- board/freescale/ls1028a/ls1028a.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c index e5de4eb70c..ece91660bf 100644 --- a/board/freescale/ls1028a/ls1028a.c +++ b/board/freescale/ls1028a/ls1028a.c @@ -20,6 +20,7 @@ #endif #include #include +#include #include #include @@ -229,3 +230,8 @@ int checkboard(void) return 0; } #endif + +void *video_hw_init(void) +{ + return NULL; +} -- 2.17.1