]> git.proxmox.com Git - mirror_qemu.git/commit - hw/xtensa/xtfpga.c
hw/xtensa/xtfpga: implement uImage loading
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 4 Mar 2013 03:07:52 +0000 (07:07 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 28 Jun 2014 22:32:42 +0000 (02:32 +0400)
commit364d4802429a5c7d3985f322e54a104024fd3f75
treea81bc283e344ab2a3a302bc8baf6c66f8a72021d
parentb6edea8b687182bc4572c4e2e8af48f32b213dad
hw/xtensa/xtfpga: implement uImage loading

Provide a simple bootloader code at the reset address that jumps to the
loaded image entry point when it's not equal to the reset address. This
is needed because the old method of setting pc doesn't work due to cpu
reset done after the machine setup.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
hw/xtensa/xtfpga.c