[U-Boot] [PATCH v2 03/37] video: Name consoles by their number

Simon Glass sjg at chromium.org
Fri Jan 22 19:37:58 CET 2016


On 21 January 2016 at 19:44, Simon Glass <sjg at chromium.org> wrote:
> We must use the console name in the 'stdout' variable to select the one
> we want. At present the name is formed from the driver name with a suffix
> indicating the rotation value.
>
> It seems better to name them sequentially since this can be controlled by
> driver order. So adjust the code to use 'vidconsole' for the first,
> 'vidconsole1' for the second, etc.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/video/vidconsole-uclass.c | 7 ++++++-
>  include/configs/sandbox.h         | 8 ++++----
>  2 files changed, 10 insertions(+), 5 deletions(-)

Applied to u-boot-rockchip.


More information about the U-Boot mailing list