]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx6q_logic: Enable DM_SERIAL
authorAdam Ford <aford173@gmail.com>
Wed, 7 Aug 2019 17:05:59 +0000 (12:05 -0500)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
commit9ef79d955de2b0423edf53650e590f1c9bb8ec47
tree2bf3f06fb33b8248e46c98e859bc3aebbf628f00
parent660057213d22fbdb8d59b5cba58122ecd6e2c9e5
ARM: imx6q_logic: Enable DM_SERIAL

In order to call preloader_console_init from board_init_f when
DM_SERIAL is enabled, it neesd to call spl_early_init() to get early access
to DM and device tree.

This patch calls spl_early_init just before preloader_console_init()
and enables DM_SERIAL and SPL_DM_SERIAL.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
board/logicpd/imx6/imx6logic.c
configs/imx6q_logic_defconfig