bootm: Disable interrupts before loading OS
authorSimon Glass <sjg@chromium.org>
Fri, 28 Jun 2013 07:46:12 +0000 (00:46 -0700)
committerTom Rini <trini@ti.com>
Fri, 28 Jun 2013 20:26:50 +0000 (16:26 -0400)
commit5ff0d0832e085fe64740e6c78e11193b048896da
tree0583eda9afbfca0ffa355eeb2562f87234119ce2
parentd366438d8ac80fd10110dceda9f4792f4a16ac9d
bootm: Disable interrupts before loading OS

This restores the ordering of interrupt disable to what it what before
commit 35fc84fa. It seems that on some archiectures (e.g. PowerPC) the
OS is loaded into an interrupt region, which can cause problems if
interrupts are still running.

Tested-by: Stefan Roese <sr@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_bootm.c