]> git.dujemihanovic.xyz Git - u-boot.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)
commit7cf388fa6977136dd2384bd746d237efc306c829
tree2bf3f06fb33b8248e46c98e859bc3aebbf628f00
parenta3ecce373af981f701b1c71a98da3df188c21960
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