]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt_support: Add multi-serial support for stdout fixup
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 15 Oct 2009 13:47:04 +0000 (17:47 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 27 Oct 2009 02:35:50 +0000 (21:35 -0500)
commit3e303f748cf57fb23e8ec95ab7eac0074be50e2b
tree0ce112511b29eecb0ea987195d0ca08cd195efd6
parentda0e5f7ee828f246d85997486fff308837069453
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: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
common/fdt_support.c