commit | 385501d38b406c2d65b47c3978af2f659df89b28 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 04 13:26:08 2013 -0700 |
committer | Tom Rini <trini@ti.com> | Wed Jul 10 09:15:14 2013 -0400 |
tree | cd0f1a930c59a8b40320f9203f07b3bbae0f5a8b | |
parent | 2f4998ab4429af4b805f8566268c3b761aa4babd [diff] |
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>