Skip to content
Snippets Groups Projects
Commit 3e303f74 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kumar Gala
Browse files

fdt_support: Add multi-serial support for stdout fixup


Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX
constant. With multi-serial support, the CONS_INDEX may no longer
represent actual console, so we should try to extract port number
from the current stdio device name instead of always hard-coding the
constant value.

Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: default avatarGerald Van Baren <vanbaren@cideas.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent da0e5f7e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment