dm: stdio: Plumb in the new keyboard uclass
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 03:17:15 +0000 (21:17 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:40 +0000 (20:13 -0700)
commitb206cd737214d5bce3446c1368add9201dbb1813
tree79f35d92ebac29ff9d4936261955bc9f04d39fc6
parent745009c4d081a9fb5504ce3e97b39e92cbe77ef4
dm: stdio: Plumb in the new keyboard uclass

When driver model is used for keyboards we must scan the available keyboards
and register them with stdio. Add code to do this.

At some point (once LCD/video is converted) we should be able to convert
stdio to driver model and avoid these dual data structures.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/stdio.c