| /rk3399_rockchip-uboot/arch/nds32/lib/ |
| H A D | bootm.c | 2cb0e55a3cd737be1d228a9f90b3d34fab0d0d46 Tue Jul 02 11:57:44 UTC 2013 Andreas Bießmann <andreas.devel@googlemail.com> avr32/m68k/microblaze/nds32/nios2/openrisc/sh/sparc: fix do_bootm_linux
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will require a complete refactoring later on.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc] Signed-off-by: Tom Rini <trini@ti.com>
|
| /rk3399_rockchip-uboot/arch/sh/lib/ |
| H A D | bootm.c | 2cb0e55a3cd737be1d228a9f90b3d34fab0d0d46 Tue Jul 02 11:57:44 UTC 2013 Andreas Bießmann <andreas.devel@googlemail.com> avr32/m68k/microblaze/nds32/nios2/openrisc/sh/sparc: fix do_bootm_linux
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will require a complete refactoring later on.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc] Signed-off-by: Tom Rini <trini@ti.com>
|
| /rk3399_rockchip-uboot/arch/m68k/lib/ |
| H A D | bootm.c | 2cb0e55a3cd737be1d228a9f90b3d34fab0d0d46 Tue Jul 02 11:57:44 UTC 2013 Andreas Bießmann <andreas.devel@googlemail.com> avr32/m68k/microblaze/nds32/nios2/openrisc/sh/sparc: fix do_bootm_linux
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will require a complete refactoring later on.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc] Signed-off-by: Tom Rini <trini@ti.com>
|
| /rk3399_rockchip-uboot/arch/nios2/lib/ |
| H A D | bootm.c | 2cb0e55a3cd737be1d228a9f90b3d34fab0d0d46 Tue Jul 02 11:57:44 UTC 2013 Andreas Bießmann <andreas.devel@googlemail.com> avr32/m68k/microblaze/nds32/nios2/openrisc/sh/sparc: fix do_bootm_linux
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will require a complete refactoring later on.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc] Signed-off-by: Tom Rini <trini@ti.com>
|
| /rk3399_rockchip-uboot/arch/microblaze/lib/ |
| H A D | bootm.c | 2cb0e55a3cd737be1d228a9f90b3d34fab0d0d46 Tue Jul 02 11:57:44 UTC 2013 Andreas Bießmann <andreas.devel@googlemail.com> avr32/m68k/microblaze/nds32/nios2/openrisc/sh/sparc: fix do_bootm_linux
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will require a complete refactoring later on.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc] Signed-off-by: Tom Rini <trini@ti.com>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | image.h | 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 Tue Jun 11 18:14:47 UTC 2013 Simon Glass <sjg@chromium.org> Refactor the bootm command to reduce code duplication
At present the bootm code is mostly duplicated for the plain 'bootm' command and its sub-command variant. This makes the code harder to maintain and means that changes must be made to several places.
Introduce do_bootm_states() which performs selected portions of the bootm work, so that both plain 'bootm' and 'bootm <sub_command>' can use the same code.
Additional duplication exists in bootz, so tidy that up as well. This is not intended to change behaviour, apart from minor fixes where the previously-duplicated code missed some chunks of code.
Signed-off-by: Simon Glass <sjg@chromium.org>
|