From cf629c4e32a95977c1297b57fd636867eec5a063 Mon Sep 17 00:00:00 2001 From: Sergey Matyukevich Date: Sat, 7 May 2022 23:29:05 +0300 Subject: [PATCH] package/xr819-xradio: enable for ARM only The xradio driver is broken for kernel configurations with disabled power management core functionality (CONFIG_PM). The xradio package makefile attempts to enable all the required kernel configuration options, including CONFIG_PM. However certain architectures have no support for CONFIG_PM. Those are or1k, nios2, csky, and more. One possible fix would be to exclude those architectures in the package Config.in. On the other hand, the xradio driver is rarely used: orangepi_zero is the only such board in Buildroot. So it makes sense to keep it simple and enable xradio only for ARM. Any new xradio users will be considered on a case by case basis. Fixes: - http://autobuild.buildroot.net/results/2ad11cd7a9ca6b694854730e46260a944e8c4bac/ Signed-off-by: Sergey Matyukevich Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/xr819-xradio/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/xr819-xradio/Config.in b/package/xr819-xradio/Config.in index 9d7fa4b0f1..3d2dedf29e 100644 --- a/package/xr819-xradio/Config.in +++ b/package/xr819-xradio/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_XR819_XRADIO bool "xr819-xradio" depends on BR2_LINUX_KERNEL + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be help Wireless driver for SDIO WiFi chip XR819