commit | 4af407f331f8ec3dacd202698dcd2639c8719216 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 05 20:42:16 2016 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 11 11:55:33 2016 +0800 |
tree | f28ce8ca385490b2d3de9874b660aa05515be14c | |
parent | a3fdd0039e399c25a4d6687b2c1dbabc1549a772 [diff] |
dm: stdio: Allow lazy probing of video devices At present all video devices are probed on start-up. It would be better to probe a device only when it is needed. This can happen if it is referenced in the stdout environment variable, for example. Add support for this by searching for a suitable device when needed, probing it, and finding the stdio device it creates. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>