]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootm: Disable interrupts only when loading
authorSimon Glass <sjg@chromium.org>
Thu, 4 Jul 2013 20:26:08 +0000 (13:26 -0700)
committerTom Rini <trini@ti.com>
Wed, 10 Jul 2013 13:15:14 +0000 (09:15 -0400)
commit385501d38b406c2d65b47c3978af2f659df89b28
treecd0f1a930c59a8b40320f9203f07b3bbae0f5a8b
parent2f4998ab4429af4b805f8566268c3b761aa4babd
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>
common/cmd_bootm.c