Skip to content

Commit 8511633

Browse files
benysnandojve
andcommitted
soc: arm: atmel: Add revisions to soc
Some SAM0 contains revisions with separated includes for example SAMC21 and SAMC21N. Signed-off-by: Kamil Serwus <[email protected]> Co-authored-by: Gerson Fernando Budke <[email protected]>
1 parent 560596f commit 8511633

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

soc/arm/atmel_sam0/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ source "soc/arm/atmel_sam0/common/Kconfig.saml2x"
1717
source "soc/arm/atmel_sam0/common/Kconfig.samd2x"
1818
source "soc/arm/atmel_sam0/common/Kconfig.samd5x"
1919
source "soc/arm/atmel_sam0/*/Kconfig.soc"
20+
source "soc/arm/atmel_sam0/Kconfig.soc.revisions"
2021

2122
endif
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2022 Gerson Fernando Budke <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SERIES_REVISION_N
5+
bool
6+
7+
config SOC_SERIES_REVISION
8+
string
9+
default "n" if SOC_SERIES_REVISION_N
10+
default ""

0 commit comments

Comments
 (0)