soc: renesas: rzt2m: Move folder structure for more SoCs

Updates the folder structure to allow for more SoCs to be added,
and fixes some minor issues

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-07 10:31:19 +00:00
committed by Carles Cufi
parent 85238fc205
commit 44e0aa0668
10 changed files with 15 additions and 22 deletions

View File

@@ -1,9 +1,7 @@
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(
soc.c
)
zephyr_sources(soc.c)
zephyr_include_directories(.)

View File

@@ -9,13 +9,3 @@ config SOC_RENESAS_RZT2M
select GIC_SINGLE_SECURITY_STATE
select ARM_ARCH_TIMER
select SYSCON
if SOC_RENESAS_RZT2M
config SOC_PART_NUMBER_R9A07G075
bool
config SOC_PART_NUMBER
default SOC_PART_NUMBER_R9A07G075
endif # SOC_RENESAS_RZT2M

View File

@@ -0,0 +1,14 @@
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
config SOC_RENESAS_RZT2M
bool
config SOC_PART_NUMBER_R9A07G075
bool
config SOC
default "renesas_rzt2m" if SOC_RENESAS_RZT2M
config SOC_PART_NUMBER
default "R9A07G075" if SOC_PART_NUMBER_R9A07G075

View File

@@ -1,9 +0,0 @@
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
config SOC_RENESAS_RZT2M
bool
config SOC
default "renesas_rzt2m"
depends on SOC_RENESAS_RZT2M