Skip to content

Commit

Permalink
soc: ite: add SOC_SERIES_ITE_IT8XXX2 guards around ITE options
Browse files Browse the repository at this point in the history
Add a check for SOC_SERIES_ITE_IT8XXX2 around ITE options so that they
only get set when building for ITE platforms.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
fabiobaltieri authored and nordicjm committed Feb 23, 2024
1 parent 22501b6 commit 4a8461b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions soc/ite/ec/it8xxx2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ config SOC_SERIES_ITE_IT8XXX2
select CPU_HAS_FPU if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "zephyr" || RISCV_ISA_EXT_M
select HAS_PM

if SOC_SERIES_ITE_IT8XXX2

config SOC_IT8XXX2
select RISCV
select ATOMIC_OPERATIONS_BUILTIN
Expand Down Expand Up @@ -148,3 +150,5 @@ config ILM_MAX_SIZE
int "ILM Size in kB"
default 60 if SOC_IT81202_CX || SOC_IT81302_CX
default SRAM_SIZE

endif # SOC_SERIES_ITE_IT8XXX2

0 comments on commit 4a8461b

Please sign in to comment.