]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Split out code from cmd_bootm.c
authorSimon Glass <sjg@chromium.org>
Thu, 12 Jun 2014 13:24:46 +0000 (07:24 -0600)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 15:18:58 +0000 (11:18 -0400)
commitb639640371ed38c76602387af865b814967473ba
tree97549d24bc07df20d1ebad1a158a7095692edbb5
parent12df2abe3e159d622701611766c085b860329f78
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>
common/Makefile
common/bootm.c [new file with mode: 0644]
common/bootm_os.c [new file with mode: 0644]
common/cmd_bootm.c
include/bootm.h [new file with mode: 0644]