Re: [U-Boot] [PATCH] USB: add CONFIG_USB_INIT to autoinitialize USB before main_loop

This allows systems to pause autoboot with USB keyboard. Tested on tegra2 seaboard.
Signed-off-by: Allen Martin amartin@nvidia.com
README | 5 +++++ arch/arm/lib/board.c | 9 +++++++++ 2 files changed, 14 insertions(+), 0 deletions(-)
This modification is in no way ARM specific, so if we accept it, it must be applied to all supported architectures.
Sounds reasonable, I can make patches for other architectures, but I can really only test ARM and x86
Where exacly is this feature nneded? You don;t enable it in any of the board configurations...
It's intended for systems that use USB keyboard as the primary input device. I have a tegra2 device like that, I haven't sent out the patch to enable it yet because it depends on Simon Glass's tegra USB patches, which are still in review.
Also, should we then not auto-enable this if CONFIG_USB_KEYBOARD is set?
Sure, that sounds reasonable.
-Allen nvpublic
participants (1)
-
Allen Martin