dm: serial: Support CONFIG_CONS_INDEX if available
Try to use this option to select the correct uart for the console. This mimics the behaviour of drivers/serial.c. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
Showing
想要评论请 注册 或 登录