[U-Boot] [v2] board: ls1028a: Add an empty video hw init function

Bin Meng bmeng.cn at gmail.com
Thu May 16 12:14:38 UTC 2019


On Thu, May 16, 2019 at 2:48 PM Wen He <wen.he_1 at nxp.com> wrote:
>
> 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(+)
>

I should have commented in the v2 patch here. Sorry for the duplication.

Please stop adding non-DM driver support to any new platforms. We
should start using DM driver. In this case, use DM_VIDEO.

Regards,
Bin


More information about the U-Boot mailing list