hw/avr: Add support for loading ELF/raw binaries
commit7dd8f6fde417a7625de15cd759a79988f09aae0d
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 24 Jan 2020 00:51:25 +0000 (24 01:51 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jul 2020 09:02:05 +0000 (11 11:02 +0200)
treeb281c44db368d016001f73d533747801fe4fe525
parentdc288de082a3e4e6970737fde2286bfc1d5ab9d7
hw/avr: Add support for loading ELF/raw binaries

Add avr_load_firmware() function to load firmware in ELF or
raw binary format.

[AM: Corrected the type of the variable containing e_flags]
[AM: Moved definition of e_flags conversion function to boot.c]
Suggested-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Reviewed-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20200705140315.260514-24-huth@tuxfamily.org>
[PMD: Replace load_image_targphys() by load_image_mr()]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
MAINTAINERS
hw/avr/Makefile.objs [new file with mode: 0644]
hw/avr/boot.c [new file with mode: 0644]
hw/avr/boot.h [new file with mode: 0644]
include/elf.h