49946538d2
memory: add parameter errp to memory_region_init_ram
...
Add parameter errp to memory_region_init_ram and update all call sites
to pass in &error_abort.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com >
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2014-09-09 13:41:43 +02:00
f55b32e749
hw/xtensa/xtfpga: implement initrd loading
...
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:42 +04:00
996dfe98ed
hw/xtensa/xtfpga: implement DTB loading
...
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:42 +04:00
364d480242
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 >
2014-06-29 02:32:42 +04:00
b6edea8b68
hw/xtensa/xtfpga: add memory info to bootparam
...
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:42 +04:00
a9a28591fb
hw/xtensa/xtfpga: refactor bootparameters filling
...
Separate filling first/last tag and size calculation from the kernel
command line setup.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:42 +04:00
62dbaede80
hw/xtensa/xtfpga: use symbolic constants for bootparam tags
...
Import bootparam tag names from linux/arch/xtensa/include/asm/bootparam.h
No functional changes.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:42 +04:00
37b259d034
hw/xtensa/xtfpga: retrieve parameters from machine_opts
...
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:42 +04:00
8488ab021b
hw/xtensa: replace fprintfs with error_report
...
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:41 +04:00
b707ab757e
hw/xtensa: remove extraneous xtensa_ prefix from file names
...
While at it rename lx60 (named after the first board of the family) to
more generic xtfpga (the family name).
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2014-06-29 02:32:41 +04:00