]> git.baikalelectronics.ru Git - uboot.git/commit
extension: Refactor to allow non-command usage
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:12 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commit489a725531b6d8cd217fb81afae4f7b8baa5a93f
treee371ab4f9a66b4806c9e60be57c5e5c8ff4f1b33
parent49e3f5a24c6c191eb4d8dbedc972ccfb39b6ac69
extension: Refactor to allow non-command usage

The current extension code is designed to be used from commands. We want
to add a boot driver which uses it. To help with this, split the code into
the command processing and a function which actually does the scan.

Really the extension code should be in common/ or use driver model, but
this is a start.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/extension_board.c