Commit f269c81d authored by Julien Thierry's avatar Julien Thierry Committed by Will Deacon
Browse files

arm: Move firmware function



Firmware loading/setup function are in fdt file while it is not very
related to this.

Move them to the file that does the main init/setup for memory.
Signed-off-by: default avatarJulien Thierry <julien.thierry@arm.com>
Reviewed-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 473c5b29
......@@ -14,16 +14,6 @@
#include <linux/sizes.h>
#include <linux/psci.h>
bool kvm__load_firmware(struct kvm *kvm, const char *firmware_filename)
{
return false;
}
int kvm__arch_setup_firmware(struct kvm *kvm)
{
return 0;
}
static void dump_fdt(const char *dtb_file, void *fdt)
{
int count, fd;
......
......@@ -168,3 +168,13 @@ bool kvm__arch_load_kernel_image(struct kvm *kvm, int fd_kernel, int fd_initrd,
return true;
}
bool kvm__load_firmware(struct kvm *kvm, const char *firmware_filename)
{
return false;
}
int kvm__arch_setup_firmware(struct kvm *kvm)
{
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment