diff options
author | Simon Glass <sjg@chromium.org> | 2013-07-04 13:26:08 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-10 09:15:14 -0400 |
commit | 385501d38b406c2d65b47c3978af2f659df89b28 (patch) | |
tree | cd0f1a930c59a8b40320f9203f07b3bbae0f5a8b /common/cmd_echo.c | |
parent | 2f4998ab4429af4b805f8566268c3b761aa4babd (diff) | |
download | u-boot-imx-385501d38b406c2d65b47c3978af2f659df89b28.zip u-boot-imx-385501d38b406c2d65b47c3978af2f659df89b28.tar.gz u-boot-imx-385501d38b406c2d65b47c3978af2f659df89b28.tar.bz2 |
bootm: Disable interrupts only when loading
With the move of the interrupt code to earlier in the sequence, we
exposed a problem where the interrupts are disabled at each bootm
stage. This is not correct - it should be done only once. Let's disable
interrupts in the LOAD stage. Put the code in a function for clarity.
Also, bootz lost its interrupt code altogether, so reinstate it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_echo.c')
0 files changed, 0 insertions, 0 deletions