]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Set up stdio earlier when using driver model
authorSimon Glass <sjg@chromium.org>
Wed, 3 Sep 2014 23:37:00 +0000 (17:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Sep 2014 18:59:58 +0000 (12:59 -0600)
commit294b91a5817147d4b7f47be2ac69bac2a1f26491
treeb2f9ee0d3f224b59a160c986f33d9418820ad698
parent3ea0953d36023d7e50fb00b2e258d8fb2828aeac
Set up stdio earlier when using driver model

Since driver model registers itself with the stdio subsystem, and we
want to avoid delayed registration and other complexity associated with
the current serial console, move the stdio subsystem init earlier when
driver model is used for serial.

This simplifies the implementation. Should there be any problems with
this approach they can be dealt with as boards are converted over to
use driver model for serial.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_r.c