commit | 917f68413ec6c7b0f4b3eaabc40342efab54ab93 | [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 | aca24304fd0c655a04a368c74abd8039b0c315ed [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>