diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2021-01-27 14:54:21 +0800 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-02-21 18:41:04 +0100 |
commit | 3ebbf86128f5607831ba5a3dec8bac02271a9390 (patch) | |
tree | 4e46901992d9b65a8834116065d54e462fb58d06 /hw/mips/meson.build | |
parent | ac9b0117d545d4e318c6827251fdf654385188f5 (diff) | |
download | qemu-3ebbf86128f5607831ba5a3dec8bac02271a9390.zip qemu-3ebbf86128f5607831ba5a3dec8bac02271a9390.tar.gz qemu-3ebbf86128f5607831ba5a3dec8bac02271a9390.tar.bz2 |
hw/mips: Add a bootloader helper
Add a bootloader helper to generate simple bootloaders for kernel.
It can help us reduce inline hex hack and also keep MIPS release 6
compatibility easier.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210127065424.114125-2-jiaxun.yang@flygoat.com>
[PMD: Restricted bl_reg enum to C source,
inverted bl_gen_write() args,
added license in hw/mips/bootloader.h]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/mips/meson.build')
-rw-r--r-- | hw/mips/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/meson.build b/hw/mips/meson.build index ee19cc2..1195716 100644 --- a/hw/mips/meson.build +++ b/hw/mips/meson.build @@ -1,5 +1,5 @@ mips_ss = ss.source_set() -mips_ss.add(files('mips_int.c')) +mips_ss.add(files('bootloader.c', 'mips_int.c')) mips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c')) mips_ss.add(when: 'CONFIG_FULOONG', if_true: files('fuloong2e.c')) mips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c', 'loongson3_virt.c')) |