On 07/31/2017 12:30 AM, Bin Meng wrote: > On Mon, Jul 31, 2017 at 5:01 AM, Rask Ingemann Lambertsen > <r...@formelder.dk> wrote: >> On Mon, Jun 26, 2017 at 04:05:41AM -0700, Bin Meng wrote: >>> The following 3 Kconfig options >>> - CONFIG_SYS_USB_EVENT_POLL >>> - CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP >>> - CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE >>> >>> are already converted to Kconfig. Let's clean up all board configs to >>> switch over to use them. >>> >>> Signed-off-by: Bin Meng <bmeng...@gmail.com> >> [snip] >>> diff --git a/configs/Sunchip_CX-A99_defconfig >>> b/configs/Sunchip_CX-A99_defconfig >>> index 0641b1f..2284bd3 100644 >>> --- a/configs/Sunchip_CX-A99_defconfig >>> +++ b/configs/Sunchip_CX-A99_defconfig >>> @@ -18,3 +18,4 @@ CONFIG_SPL=y >>> # CONFIG_SPL_DOS_PARTITION is not set >>> # CONFIG_SPL_ISO_PARTITION is not set >>> # CONFIG_SPL_EFI_PARTITION is not set >>> +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y >> [snip] >>> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h >>> index ee669cb..da91117 100644 >>> --- a/include/configs/sunxi-common.h >>> +++ b/include/configs/sunxi-common.h >>> @@ -340,7 +340,6 @@ extern int soft_i2c_gpio_scl; >>> >>> #ifdef CONFIG_USB_KEYBOARD >>> #define CONFIG_PREBOOT >>> -#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE >>> #endif >>> >>> #define CONFIG_MISC_INIT_R >> >> Rather than adding that option to each and every SUNXI board's defconfig >> when removing it from include/configs/sunxi-common.h, wouldn't it better >> to set it from arch/arm/Kconfig instead? Something like this (untested): >> > > Makes sense.
AFAIR this is a property of the USB controller driver implementation (if it does / does not implement the interrupt transfers), but also not everyone needs this, so putting it into defconfigs makes sense IMO. -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot