summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-12 07:24:46 -0600
committerTom Rini <trini@ti.com>2014-06-19 11:18:58 -0400
commitb639640371ed38c76602387af865b814967473ba (patch)
tree97549d24bc07df20d1ebad1a158a7095692edbb5 /common/Makefile
parent12df2abe3e159d622701611766c085b860329f78 (diff)
downloadu-boot-imx-b639640371ed38c76602387af865b814967473ba.zip
u-boot-imx-b639640371ed38c76602387af865b814967473ba.tar.gz
u-boot-imx-b639640371ed38c76602387af865b814967473ba.tar.bz2
bootm: Split out code from cmd_bootm.c
This file has code in three different categories: - Command processing - OS-specific boot code - Locating images and setting up to boot Only the first category really belongs in a file called cmd_bootm.c. Leave the command processing code where it is. Split out the OS-specific boot code into bootm_os.c. Split out the other code into bootm.c Header files and extern declarations are tidied but otherwise no code changes are made, to make it easier to review. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index 391a8d6..f6cd980 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -40,7 +40,7 @@ obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o
# core command
obj-y += cmd_boot.o
-obj-$(CONFIG_CMD_BOOTM) += cmd_bootm.o
+obj-$(CONFIG_CMD_BOOTM) += cmd_bootm.o bootm.o bootm_os.o
obj-y += cmd_help.o
obj-y += cmd_version.o