summaryrefslogtreecommitdiffstats
path: root/hw/xtensa/xtfpga.c
Commit message (Collapse)AuthorAgeFilesLines
* hw/xtensa/xtfpga: implement initrd loadingMax Filippov2014-06-291-0/+24
| | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa/xtfpga: implement DTB loadingMax Filippov2014-06-291-0/+23
| | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa/xtfpga: implement uImage loadingMax Filippov2014-06-291-1/+24
| | | | | | | | | 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: add memory info to bootparamMax Filippov2014-06-291-1/+8
| | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa/xtfpga: refactor bootparameters fillingMax Filippov2014-06-291-12/+16
| | | | | | | Separate filling first/last tag and size calculation from the kernel command line setup. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa/xtfpga: use symbolic constants for bootparam tagsMax Filippov2014-06-291-3/+3
| | | | | | | Import bootparam tag names from linux/arch/xtensa/include/asm/bootparam.h No functional changes. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa/xtfpga: retrieve parameters from machine_optsMax Filippov2014-06-291-2/+3
| | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa: replace fprintfs with error_reportMax Filippov2014-06-291-4/+6
| | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* hw/xtensa: remove extraneous xtensa_ prefix from file namesMax Filippov2014-06-291-0/+360
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>