commit | 9bc4a56198bfdac9d01aeeb0e0d27996ba210ad4 | [log] [tgz] |
---|---|---|
author | Michael Davidsaver <mdavidsaver@gmail.com> | Wed Dec 02 19:18:52 2015 -0500 |
committer | Peter Maydell <peter.maydell@linaro.org> | Mon Jan 23 13:33:40 2017 +0000 |
tree | 222fe7c39b9906505bd94b5e3b7c8358081cc80c | |
parent | 412ac14bbc7bafc72a137d147c541e0aa8ecfaa1 [diff] |
armv7m: remove extra cpu_reset() cpu_reset() is called as a side-effect of realizing the CPU. arm_cpu_reset() calls rom_ptr(0), which expects to find the image mapped. This was happening way before load_*() and was worked around with a second call to cpu_reset(). Now wait to realize until after the image is mapped. Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com>