diff options
| author | Simon Glass <[email protected]> | 2021-10-14 12:48:09 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-11 19:02:39 -0500 |
| commit | 81a2f8d34b4ef38f8a4dbb9013ab65476644603a (patch) | |
| tree | a78e807aa921ebbc5259ed38edf59298fa9ce44b /scripts | |
| parent | 4d79e884adf6842beb94566bf5249c07a84a5b51 (diff) | |
pxe: Refactor sysboot to have one helper
The only difference between the three helpers is the filesystem type.
Factor this out and call the filesystem functions directly, instead of
through the command-line interpreter. This allows the file size to be
obtained directly, instead of via an environment variable.
We cannot do the same thing with PXE's tftpboot since there is no API
at present to obtain information about the file that was read. So there
is no point in changing pxe_getfile_func to use a ulong for the address,
for example.
This is as far as the refactoring can go for the present.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Artem Lapkin <[email protected]>
Tested-by: Artem Lapkin <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
