|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv2 2/3] build: Split ofw from kvm plat to independent library
Hello, This patch seems fine. I have a minor comment. Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> Thanks & Regards Sharan On 8/15/19 9:16 AM, Jia He wrote: This patch splits the device tree driver as a separate library from the kvm platform library. This is similar to what we do for virtio or pci drivers The discussion is at [1]. [1] https://lists.xenproject.org/archives/html/minios-devel/2019-07/msg00046.html Signed-off-by: Jia He <justin.he@xxxxxxx> Suggested-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> --- plat/kvm/Config.uk | 6 ++++++ plat/kvm/Makefile.uk | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/plat/kvm/Config.uk b/plat/kvm/Config.uk index 39da143..e620966 100644 --- a/plat/kvm/Config.uk +++ b/plat/kvm/Config.uk @@ -87,4 +87,10 @@ config LIBGICV2 select LIBOFW depends on ARCH_ARM_64+config LIBOFW+ bool "Open Firmware library support" + default n + select LIBFDT + depends on ARCH_ARM_64 + endif diff --git a/plat/kvm/Makefile.uk b/plat/kvm/Makefile.uk index b1fd50b..53432fa 100644 --- a/plat/kvm/Makefile.uk +++ b/plat/kvm/Makefile.uk @@ -10,6 +10,7 @@ $(eval $(call addplatlib,kvm,libkvmplat)) $(eval $(call addplatlib_s,kvm,libkvmpci,$(CONFIG_KVM_PCI))) $(eval $(call addplatlib_s,kvm,libkvmvirtio,$(CONFIG_VIRTIO_BUS))) $(eval $(call addplatlib_s,kvm,libkvmvirtionet,$(CONFIG_VIRTIO_NET))) +$(eval $(call addplatlib_s,kvm,libkvmofw,$(CONFIG_LIBOFW))) $(eval $(call addplatlib_s,kvm,libkvmgicv2,$(CONFIG_LIBGICV2)))## We wouldn't need CONFIG_LIBOFW here? + ## ## GICv2 library definitions ## _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |