]> git.baikalelectronics.ru Git - uboot.git/commit
fastboot: Only call the bootm command if it is enabled
authorSamuel Holland <samuel@sholland.org>
Mon, 20 Feb 2023 06:14:58 +0000 (00:14 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 21:23:01 +0000 (17:23 -0400)
commita706c727e1ac122598b1a58ca16a880968d6a87d
tree25884fcc1f277d09233b755c7398fdc2e8f1e7f5
parentd61cbc45f5593dcc5db6df4df38e7553d44aa6aa
fastboot: Only call the bootm command if it is enabled

This fixes an error with trying to link against do_bootm() when
CONFIG_CMD_BOOTM is disabled.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/fastboot/fb_common.c