From d4081fd07f69174394e16fbd82432b4ff08a8cea Mon Sep 17 00:00:00 2001 From: Evgeniy Paltsev Date: Tue, 30 Mar 2021 23:31:12 +0300 Subject: [PATCH] ARC: allow to configure the RGF_NUM_BANKS only if ARC_FIRQ is enabled As of today we use second register bank only if fast interrupts are enabled. So don't show the 'number of register bank' configuration option if fast interrupts are disabled to avoid user confusion. Signed-off-by: Eugeniy Paltsev Signed-off-by: Evgeniy Paltsev --- arch/arc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 56a4dd8c5c9..12cf0970ca7 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -110,6 +110,7 @@ config NUM_IRQS config RGF_NUM_BANKS int "Number of General Purpose Register Banks" + depends on ARC_FIRQ range 1 2 default 2 help