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_include_directories(.)
zephyr_sources( zephyr_sources(
check_regs.c
soc_irq.S soc_irq.S
soc_common_irq.c soc_common_irq.c
vector.S
) )
zephyr_sources_ifdef(CONFIG_PM power.c) 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_include_directories(.)
zephyr_library_sources_ifndef(CONFIG_RISCV_ISA_EXT_M __arithmetic.S) zephyr_library_sources_ifndef(CONFIG_RISCV_ISA_EXT_M __arithmetic.S)

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <../soc/ite/ec/common/chip_chipregs.h> #include <../soc/ite/ec/it8xxx2/chip_chipregs.h>
/* /*
* Macros for emulated hardware registers access. * Macros for emulated hardware registers access.