]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Move common image code to image_board and command
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 14:52:28 +0000 (08:52 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 16 Jan 2023 23:26:50 +0000 (18:26 -0500)
commit30f3333d8860fd97e131e24ad33a80f4d46e98b1
treefe0fa6615416ff347f43605a20e30212bdb8a03a
parent858fefd5fc3ae9006a0f545d7744e6f95270b14d
image: Move common image code to image_board and command

We should use the cmd/ directory for commands rather than for common code
used elsewhere in U-Boot. Move the common 'source' code into
image-board.c to achieve this.

The image_source_script() function needs to call run_command_list()  so
seems to belong better in the command library. Move and rename it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
boot/bootmeth_script.c
boot/image-board.c
cmd/source.c
common/command.c
drivers/usb/gadget/f_sdp.c
include/command.h
include/image.h