[U-Boot] [v2] board: ls1028a: Add an empty video hw init function
Wen He
wen.he_1 at nxp.com
Thu May 16 06:48:29 UTC 2019
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 <wen.he_1 at nxp.com>
---
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 <fsl_immap.h>
#include <netdev.h>
+#include <video_fb.h>
#include <fdtdec.h>
#include <miiphy.h>
@@ -229,3 +230,8 @@ int checkboard(void)
return 0;
}
#endif
+
+void *video_hw_init(void)
+{
+ return NULL;
+}
--
2.17.1
More information about the U-Boot
mailing list