Skip to content
Snippets Groups Projects
Commit 385501d3 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 2f4998ab
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment