[U-Boot] [PATCH v6 2/8] x86: qemu: add fw_cfg support
Bin Meng
bmeng.cn at gmail.com
Tue Jan 12 05:00:21 CET 2016
On Tue, Jan 12, 2016 at 11:47 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
>> The QEMU fw_cfg interface allows the guest to retrieve various data
>> information from QEMU. For example, APCI/SMBios tables, number of online
>> cpus, kernel data and command line, etc.
>>
>> This patch adds support for QEMU fw_cfg interface.
>>
>> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
>> Reviewed-by: Simon Glass <sjg at chromium.org>
>> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>> Changes in v6:
>> - fix oneline comment
>> - do not update bootargs when kernel cmdline only contains '\0'
>>
>> arch/x86/cpu/qemu/Makefile | 2 +-
>> arch/x86/cpu/qemu/fw_cfg.c | 283 ++++++++++++++++++++++++++++++++++++++++++
>> arch/x86/cpu/qemu/qemu.c | 3 +
>> arch/x86/include/asm/fw_cfg.h | 93 ++++++++++++++
>> 4 files changed, 380 insertions(+), 1 deletion(-)
>> create mode 100644 arch/x86/cpu/qemu/fw_cfg.c
>> create mode 100644 arch/x86/include/asm/fw_cfg.h
>>
>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
applied to u-boot-x86/next, thanks!
More information about the U-Boot
mailing list