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 <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
Evgeniy Paltsev 2021-03-30 23:31:12 +03:00 committed by Anas Nashif
parent cc46dee7d0
commit d4081fd07f

View file

@ -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