[U-Boot] [PATCH v3 2/8] x86: qemu: add a cpu uclass driver for qemu target

Bin Meng bmeng.cn at gmail.com
Wed Dec 30 05:04:14 CET 2015


On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan <yanmiaobest at gmail.com> wrote:
> Add a cpu uclass driver for qemu. Previously, the qemu
> target gets cpu number from board dts files, which are
> manually created at compile time. This does not scale
> when more cpus are assigned to guest as the dts files
> must be modified as well.
>
> This patch adds a cpu uclass driver for qemu targets
> to directly read online cpu number from firmware.
>
> Signed-off-by: <yanmiaobest at gmail.com>
> ---
> Changes in v2:
>   - return int from qemu_fwcfg_online_cpus()
>

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


More information about the U-Boot mailing list