
30 Dec
2015
30 Dec
'15
5:04 a.m.
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan yanmiaobest@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@gmail.com
Changes in v2:
- return int from qemu_fwcfg_online_cpus()
Reviewed-by: Bin Meng bmeng.cn@gmail.com