aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-15 20:14:12 -0700
committerTom Rini <trini@konsulko.com>2023-12-21 16:07:52 -0500
commitc49216253d4357500a96b849bc3a02896093a9a9 (patch)
tree301668f68deadfb367e28e22d54e6311be414b17 /arch
parent59ca40a954367c08eac648fddd63857118e446ce (diff)
downloadu-boot-c49216253d4357500a96b849bc3a02896093a9a9.zip
u-boot-c49216253d4357500a96b849bc3a02896093a9a9.tar.gz
u-boot-c49216253d4357500a96b849bc3a02896093a9a9.tar.bz2
bootm: Create a struct for argument information
Some OS functions require the arguments to the 'bootm' command. This is inconvenient for two reasons. Firstly, there may not be any actual command, if CMDLINE is not enabled and programmatic boot is being used. Secondly, most functions don't require the arguments, so it is inefficient to pass them when not needed. For example it increases code size. Create a new struct which holds the arguments, which can be used if needed. Add the images pointer as well, since this is commonly needed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions