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:
committed by
Carles Cufi
parent
85238fc205
commit
44e0aa0668
@@ -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(.)
|
||||
|
||||
@@ -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
|
||||
14
soc/renesas/rzt2m/Kconfig.soc
Normal file
14
soc/renesas/rzt2m/Kconfig.soc
Normal 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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user