From 5db28905c952560843212236963e9f711341cad5 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 12 Aug 2016 08:31:15 -0400 Subject: cmd: Split 'bootz' and 'booti' out from 'bootm' The bootz and booti commands rely on common functionality that is found in common/bootm.c and common/bootm_os.c. They do not however rely on the rest of cmd/bootm.c to be implemented so split them into their own files. Have various Makefiles include the required infrastructure for CONFIG_CMD_BOOT[IZ] as well as CONFIG_CMD_BOOTM. Move the declaration of 'images' over to common/bootm.c. Cc: Masahiro Yamada Signed-off-by: Tom Rini --- arch/sandbox/lib/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/sandbox/lib/Makefile') diff --git a/arch/sandbox/lib/Makefile b/arch/sandbox/lib/Makefile index 7820c55c85..2e7802feac 100644 --- a/arch/sandbox/lib/Makefile +++ b/arch/sandbox/lib/Makefile @@ -12,3 +12,4 @@ ifndef CONFIG_SPL_BUILD obj-$(CONFIG_PCI) += pci_io.o endif obj-$(CONFIG_CMD_BOOTM) += bootm.o +obj-$(CONFIG_CMD_BOOTZ) += bootm.o -- cgit