qemu-e2k/hw/mips/fw_cfg.h
Huacai Chen 313d1e910a hw/mips: Implement fw_cfg_arch_key_name()
Implement fw_cfg_arch_key_name(), which returns the name of a
mips-specific key.

Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1600742967-12933-7-git-send-email-chenhc@lemote.com>
[PMD: Add FW_CFG_MIPS Kconfig selector]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2021-01-04 23:32:27 +01:00

20 lines
383 B
C

/*
* QEMU fw_cfg helpers (MIPS specific)
*
* Copyright (c) 2020 Huacai Chen
*
* SPDX-License-Identifier: MIT
*/
#ifndef HW_MIPS_FW_CFG_H
#define HW_MIPS_FW_CFG_H
#include "hw/boards.h"
#include "hw/nvram/fw_cfg.h"
/* Data for BIOS to identify machine */
#define FW_CFG_MACHINE_VERSION (FW_CFG_ARCH_LOCAL + 0)
#define FW_CFG_CPU_FREQ (FW_CFG_ARCH_LOCAL + 1)
#endif