]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: xen: events: fix build issues with disabled Xen HVC
authorDmytro Firsov <Dmytro_Firsov@epam.com>
Mon, 4 Jul 2022 12:05:38 +0000 (12:05 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 17:59:59 +0000 (13:59 -0400)
commit13f9cc9264ec7d73b7450e8320c4a2968c188fb8
tree61bb4e772b80b17e5bd61b0b0a688d9e96fd8de3
parent02eaf9036f104a1ef242b63309ed5b7ec55730c2
drivers: xen: events: fix build issues with disabled Xen HVC

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@epam.com>
Reviewed-by: Anastasiia Lukianenko <vicooodin@gmail.com>
Reviewed-by: Anastasiia Lukianenko <vicooodin@gmail.com<mailto:vicooodin@gmail.com>>
Signed-off-by: Dmytro Firsov <dmytro_firsov@epam.com<mailto:dmytro_firsov@epam.com>>
drivers/xen/events.c