ARC: Kconfig: rename CPU_ARCV2 option to ISA_ARCV2

* Rename CPU_ARCV2 to ISA_ARCV2. That helps to avoid conflict between
  CPU families naming and ISAs naming and aligns this options
  with other ARC OSS projects.

* Generalize ARCV2 check to ARC check where it is required.

NOTE: we add ISA_ARCV2 option in a choice list as a preparation
for ISA_ARCV3 addition.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
Eugeniy Paltsev 2021-03-20 01:34:01 +03:00 committed by Anas Nashif
commit 1b41da2630
9 changed files with 28 additions and 20 deletions

View file

@ -21,7 +21,7 @@
#include <arch/common/ffs.h>
#include <arch/arc/thread.h>
#include <arch/common/sys_bitops.h>
#ifdef CONFIG_CPU_ARCV2
#ifdef CONFIG_ISA_ARCV2
#include <arch/arc/v2/exc.h>
#include <arch/arc/v2/irq.h>
#include <arch/arc/v2/error.h>

View file

@ -12,7 +12,7 @@
#include <kernel_structs.h>
#ifdef CONFIG_CPU_ARCV2
#ifdef CONFIG_ISA_ARCV2
#include <arch/arc/v2/aux_regs.h>
#endif

View file

@ -26,7 +26,7 @@
#include <zephyr/types.h>
#include <stdbool.h>
#ifdef CONFIG_CPU_ARCV2
#ifdef CONFIG_ISA_ARCV2
#include <arch/arc/v2/aux_regs.h>
#endif