From: Wasim Khan <[hidden email]>
UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platfroms. Signed-off-by: Wasim Khan <[hidden email]> --- drivers/misc/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 29432ae7eb..5eab1ed9c6 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -211,10 +211,9 @@ config FSL_SEC_MON like software violations or hardware security violations. config IRQ - bool "Intel Interrupt controller" - depends on X86 || SANDBOX + bool "Interrupt controller" help - This enables support for Intel interrupt controllers, including ITSS. + This enables support for interrupt controllers, including ITSS. Some devices have extra features, such as Apollo Lake. The device has its own uclass since there are several operations involved. -- 2.25.1 |
From: Wasim Khan <[hidden email]>
GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled. Signed-off-by: Wasim Khan <[hidden email]> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fbe90875ae..f8b4d422d9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -67,6 +67,7 @@ config GIC_V3_ITS bool "ARM GICV3 ITS" select REGMAP select SYSCON + select IRQ help ARM GICV3 Interrupt translation service (ITS). Basic support for programming locality specific peripheral -- 2.25.1 |
In reply to this post by Wasim Khan-2
From: Wasim Khan <[hidden email]>
use 'select' to enable IRQ as it does not have architecture specific dependency. Signed-off-by: Wasim Khan <[hidden email]> --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 3aa99e08fc..362b220948 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -167,6 +167,7 @@ config X86 select TIMER select USE_PRIVATE_LIBGCC select X86_TSC_TIMER + select IRQ imply HAS_ROM if X86_RESET_VECTOR imply BLK imply CMD_DM @@ -197,7 +198,6 @@ config X86 imply USB_HOST_ETHER imply PCH imply RTC_MC146818 - imply IRQ imply ACPIGEN if !QEMU imply SYSINFO if GENERATE_SMBIOS_TABLE imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE -- 2.25.1 |
In reply to this post by Wasim Khan-2
From: Wasim Khan <[hidden email]>
Enable IRQ using select for sandbox architecture. Signed-off-by: Wasim Khan <[hidden email]> --- arch/Kconfig | 1 + configs/sandbox64_defconfig | 1 - configs/sandbox_defconfig | 1 - configs/sandbox_flattree_defconfig | 1 - configs/sandbox_spl_defconfig | 1 - 5 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 362b220948..336a5a68ef 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -109,6 +109,7 @@ config SANDBOX select SPI select SUPPORT_OF_CONTROL select SYSRESET_CMD_POWEROFF + select IRQ imply BITREVERSE select BLOBLIST imply CMD_DM diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index 5fbbfd7236..534f58f868 100644 --- a/configs/sandbox64_defconfig +++ b/configs/sandbox64_defconfig @@ -133,7 +133,6 @@ CONFIG_CROS_EC_I2C=y CONFIG_CROS_EC_LPC=y CONFIG_CROS_EC_SANDBOX=y CONFIG_CROS_EC_SPI=y -CONFIG_IRQ=y CONFIG_P2SB=y CONFIG_PWRSEQ=y CONFIG_SPL_PWRSEQ=y diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index f1ec701a9f..56f83695e0 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -160,7 +160,6 @@ CONFIG_CROS_EC_I2C=y CONFIG_CROS_EC_LPC=y CONFIG_CROS_EC_SANDBOX=y CONFIG_CROS_EC_SPI=y -CONFIG_IRQ=y CONFIG_P2SB=y CONFIG_PWRSEQ=y CONFIG_SPL_PWRSEQ=y diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig index edca7f1808..8098d652dc 100644 --- a/configs/sandbox_flattree_defconfig +++ b/configs/sandbox_flattree_defconfig @@ -114,7 +114,6 @@ CONFIG_CROS_EC_I2C=y CONFIG_CROS_EC_LPC=y CONFIG_CROS_EC_SANDBOX=y CONFIG_CROS_EC_SPI=y -CONFIG_IRQ=y CONFIG_P2SB=y CONFIG_PWRSEQ=y CONFIG_SPL_PWRSEQ=y diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig index 479f0226e3..0afb0bec34 100644 --- a/configs/sandbox_spl_defconfig +++ b/configs/sandbox_spl_defconfig @@ -134,7 +134,6 @@ CONFIG_CROS_EC_I2C=y CONFIG_CROS_EC_LPC=y CONFIG_CROS_EC_SANDBOX=y CONFIG_CROS_EC_SPI=y -CONFIG_IRQ=y CONFIG_P2SB=y CONFIG_PWRSEQ=y CONFIG_SPL_PWRSEQ=y -- 2.25.1 |
In reply to this post by Wasim Khan-2
On Tue, 12 Jan 2021 at 02:05, Wasim Khan <[hidden email]> wrote:
> > From: Wasim Khan <[hidden email]> > > UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ > selectable for all platfroms. > > Signed-off-by: Wasim Khan <[hidden email]> > --- > drivers/misc/Kconfig | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > Reviewed-by: Simon Glass <[hidden email]> |
In reply to this post by Wasim Khan-2
On Tue, 12 Jan 2021 at 02:05, Wasim Khan <[hidden email]> wrote:
> > From: Wasim Khan <[hidden email]> > > GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select > IRQ when GIC_V3_ITS is enabled. > > Signed-off-by: Wasim Khan <[hidden email]> > --- > arch/arm/Kconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass <[hidden email]> |
In reply to this post by Wasim Khan-2
On Tue, 12 Jan 2021 at 02:05, Wasim Khan <[hidden email]> wrote:
> > From: Wasim Khan <[hidden email]> > > use 'select' to enable IRQ as it does not have architecture > specific dependency. > > Signed-off-by: Wasim Khan <[hidden email]> > --- > arch/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass <[hidden email]> |
In reply to this post by Wasim Khan-2
On Tue, 12 Jan 2021 at 02:05, Wasim Khan <[hidden email]> wrote:
> > From: Wasim Khan <[hidden email]> > > Enable IRQ using select for sandbox architecture. > > Signed-off-by: Wasim Khan <[hidden email]> > --- > arch/Kconfig | 1 + > configs/sandbox64_defconfig | 1 - > configs/sandbox_defconfig | 1 - > configs/sandbox_flattree_defconfig | 1 - > configs/sandbox_spl_defconfig | 1 - > 5 files changed, 1 insertion(+), 4 deletions(-) > Reviewed-by: Simon Glass <[hidden email]> |
Free forum by Nabble | Edit this page |