Skip to content

Commit

Permalink
board/nsim: Move CPU selection in defconfigs
Browse files Browse the repository at this point in the history
This will allow us to easily specify other CPUs looking
forward and not rely on any default value.

Signed-off-by: Alexey Brodkin <[email protected]>
  • Loading branch information
abrodkin authored and nashif committed Jun 6, 2019
1 parent b1dcf05 commit 7971650
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions boards/arc/nsim/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ if BOARD_NSIM
config BOARD
default "nsim"

config CPU_ARCEM4
default y

if SERIAL

config UART_NSIM
Expand Down
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_em_defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_ARC=y
CONFIG_CPU_ARCEM4=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_EM=y
CONFIG_BOARD_NSIM=y
Expand Down
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_em_mpu_stack_guard_defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_ARC=y
CONFIG_CPU_ARCEM4=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_EM=y
CONFIG_BOARD_NSIM=y
Expand Down
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_sem_defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_ARC=y
CONFIG_CPU_ARCEM4=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_SEM=y
CONFIG_BOARD_NSIM=y
Expand Down
1 change: 1 addition & 0 deletions boards/arc/nsim/nsim_sem_mpu_stack_guard_defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_ARC=y
CONFIG_CPU_ARCEM4=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_SEM=y
CONFIG_BOARD_NSIM=y
Expand Down

0 comments on commit 7971650

Please sign in to comment.