Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-spi
[oweals/u-boot.git] / include / qfw.h
index 2f1a20416f83e7c7e40b82bcb0bea0a76555b94a..cea8e11d4431eb664609632f56554762dbcfb19c 100644 (file)
@@ -172,4 +172,12 @@ bool qemu_fwcfg_file_iter_end(struct fw_cfg_file_iter *iter);
 bool qemu_fwcfg_present(void);
 bool qemu_fwcfg_dma_present(void);
 
+/**
+ * qemu_cpu_fixup() - Fix up the CPUs for QEMU
+ *
+ * @return 0 if OK, -ENODEV if no CPUs, -ENOMEM if out of memory, other -ve on
+ *     on other error
+ */
+int qemu_cpu_fixup(void);
+
 #endif