soc: Separate it8xxx2 related files from the common folder

Some files should be separated from the common folder to
each soc folder for future expansion of the chip.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
Tim Lin 2025-02-28 17:08:08 +08:00 committed by Benjamin Cabé
commit 09f25854b3
6 changed files with 2 additions and 4 deletions

View file

@ -1,10 +1,8 @@
zephyr_include_directories(.)
zephyr_sources(
check_regs.c
soc_irq.S
soc_common_irq.c
vector.S
)
zephyr_sources_ifdef(CONFIG_PM power.c)

View file

@ -1,4 +1,4 @@
zephyr_sources(soc.c)
zephyr_sources(soc.c check_regs.c vector.S)
zephyr_include_directories(.)
zephyr_library_sources_ifndef(CONFIG_RISCV_ISA_EXT_M __arithmetic.S)