[PATCH] drivers: xen: events: fix build issues with disabled Xen HVC

Tom Rini trini at konsulko.com
Thu Aug 4 22:51:38 CEST 2022


On Mon, Jul 04, 2022 at 12:05:38PM +0000, Dmytro Firsov wrote:

> Some setups do not use Xen hypervisor console for logging, e.g. they
> use emulated PL011 hardware or shared peripherals (real UART). In such
> cases Xen HVC will be disabled on a build time and will cause issues in
> current driver implementation.
> 
> This commit fixes build issues in Xen event channel driver, caused
> by absense of console event channel, that is not available when console
> config is disabled. Now console related code will be removed when
> Xen HVC is turned off.
> 
> Signed-off-by: Dmytro Firsov <dmytro_firsov at epam.com>
> Reviewed-by: Anastasiia Lukianenko <vicooodin at gmail.com>
> Reviewed-by: Anastasiia Lukianenko <vicooodin at gmail.com<mailto:vicooodin at gmail.com>>
> Signed-off-by: Dmytro Firsov <dmytro_firsov at epam.com<mailto:dmytro_firsov at epam.com>>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220804/e3a22dc0/attachment.sig>


More information about the U-Boot mailing list