summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2017-01-16 12:07:35 -0500
committerAnas Nashif <nashif@linux.intel.com>2017-01-17 15:37:21 +0000
commit003a46a2f25f1fd99b37f66253485fb0abdc2a32 (patch)
treeca9ea3d02932b0009a03952acf949eb8d00001e5 /arch
parentecd209fb16db856f59bc585ade21d723319a40a1 (diff)
riscv32: fix KConfig selection of ATOMIC_OPERATIONS_C
Jira: ZEP-1583 Change-Id: Icc06b8531b74dd884e4b1224c77fa5a9cabbd629 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv32/soc/pulpino/Kconfig.defconfig4
-rw-r--r--arch/riscv32/soc/pulpino/Kconfig.soc1
-rw-r--r--arch/riscv32/soc/riscv32-qemu/Kconfig.defconfig4
-rw-r--r--arch/riscv32/soc/riscv32-qemu/Kconfig.soc1
4 files changed, 2 insertions, 8 deletions
diff --git a/arch/riscv32/soc/pulpino/Kconfig.defconfig b/arch/riscv32/soc/pulpino/Kconfig.defconfig
index 172ddb34e..9146f440a 100644
--- a/arch/riscv32/soc/pulpino/Kconfig.defconfig
+++ b/arch/riscv32/soc/pulpino/Kconfig.defconfig
@@ -28,10 +28,6 @@ config NUM_IRQS
int
default 32
-config ATOMIC_OPERATIONS_C
- bool
- default y
-
config ITCM_BASE_ADDRESS
hex
default 0x00000000
diff --git a/arch/riscv32/soc/pulpino/Kconfig.soc b/arch/riscv32/soc/pulpino/Kconfig.soc
index 5925c2390..456892ee8 100644
--- a/arch/riscv32/soc/pulpino/Kconfig.soc
+++ b/arch/riscv32/soc/pulpino/Kconfig.soc
@@ -1,2 +1,3 @@
config SOC_RISCV32_PULPINO
bool "Pulpino SOC implementation"
+ select ATOMIC_OPERATIONS_C
diff --git a/arch/riscv32/soc/riscv32-qemu/Kconfig.defconfig b/arch/riscv32/soc/riscv32-qemu/Kconfig.defconfig
index e2a0f3d31..0e8881ea9 100644
--- a/arch/riscv32/soc/riscv32-qemu/Kconfig.defconfig
+++ b/arch/riscv32/soc/riscv32-qemu/Kconfig.defconfig
@@ -20,10 +20,6 @@ config NUM_IRQS
int
default 32
-config ATOMIC_OPERATIONS_C
- bool
- default y
-
config VECTOR_BASE_ADDR
hex
default 0x00001000
diff --git a/arch/riscv32/soc/riscv32-qemu/Kconfig.soc b/arch/riscv32/soc/riscv32-qemu/Kconfig.soc
index dd57df075..2a98195b5 100644
--- a/arch/riscv32/soc/riscv32-qemu/Kconfig.soc
+++ b/arch/riscv32/soc/riscv32-qemu/Kconfig.soc
@@ -1,2 +1,3 @@
config SOC_RISCV32_QEMU
bool "riscv32_qemu SOC implementation"
+ select ATOMIC_OPERATIONS_C