[U-Boot] [PATCH 06/12] x86: qemu: move x86 specific operations out of qfw core

Bin Meng bmeng.cn at gmail.com
Fri May 13 16:00:19 CEST 2016


On Fri, May 13, 2016 at 2:29 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
> The original implementation of qfw includes several x86 specific
> operations, like directly calling outb/inb and using some inline
> assembly code which prevents it being ported to other architectures.
>
> This patch adds callback functions and moves those to arch/x86/
>
> Signed-off-by: Miao Yan <yanmiaobest at gmail.com>
> ---
>  arch/x86/cpu/qemu/qemu.c   | 39 ++++++++++++++++++++++++++++++++++++++-
>  drivers/misc/qemu_fw_cfg.c | 30 +++++++++++++-----------------
>  include/qemu_fw_cfg.h      | 15 +++++++++------
>  3 files changed, 60 insertions(+), 24 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list