imx: kontron-sl-mx8mm: enable DM_SERIAL

Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
This commit is contained in:
Peng Fan
2022-06-11 20:21:00 +08:00
committed by Stefano Babic
parent bb9e14cfd0
commit 0a16da8079
3 changed files with 3 additions and 11 deletions

View File

@@ -23,7 +23,6 @@
#define CONFIG_SYS_INIT_RAM_SIZE 0x200000
/* Board and environment settings */
#define CONFIG_MXC_UART_BASE UART_BASE_ADDR(3)
#define CONFIG_HOSTNAME "kontron-mx8mm"
#ifdef CONFIG_USB_EHCI_HCD