video: Name consoles by their number
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:51 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:36 +0000 (20:42 -0700)
commitf1a1247d8946ab2bd7efdd8c5197495768ef6269
treecafb14c9238a426ab09cf8d013a4c70e9f8091d6
parent66280e82f7fe90194236da39ab0e2f42869a8070
video: Name consoles by their number

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@chromium.org>
drivers/video/vidconsole-uclass.c
include/configs/sandbox.h