Skip to content
Permalink
Browse files

board/nsim: Make it CPU-family independent

ARC nSIM simulates all flavors or ARC cores so there's
no point in limiting its usage to ARC EM family only.

Moreover with upcoming addition of ARC HS family support
in Zephyr we'll be re-using nSIM "board" for them as well.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
  • Loading branch information...
abrodkin authored and nashif committed Jun 3, 2019
1 parent bceaed6 commit b1dcf05c683593c9678173d453eb1a280a1a42fd
File renamed without changes.
@@ -0,0 +1,13 @@
# Kconfig - DesignWare ARC nSIM simulated platform configuration
#
# Copyright (c) 2016, 2019 Synopsys, Inc. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
config BOARD_NSIM
bool "ARC nSIM simulator"
depends on SOC_NSIM
help
The DesignWare ARC nSIM board is a virtual board based on
the ARC nSIM simulator. It demonstrates the ARC core features
and a console based on the legacy ARC UART model.
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: Apache-2.0

if BOARD_NSIM_EM
if BOARD_NSIM

config BOARD
default "nsim_em"
default "nsim"

config CPU_ARCEM4
default y
@@ -16,4 +16,4 @@ config UART_NSIM
endif # SERIAL


endif # BOARD_NSIM_EM
endif # BOARD_NSIM
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -3,7 +3,7 @@
CONFIG_ARC=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_EM=y
CONFIG_BOARD_NSIM_EM=y
CONFIG_BOARD_NSIM=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_OUTPUT_BIN=n
@@ -3,7 +3,7 @@
CONFIG_ARC=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_EM=y
CONFIG_BOARD_NSIM_EM=y
CONFIG_BOARD_NSIM=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_OUTPUT_BIN=n
File renamed without changes.
File renamed without changes.
@@ -3,7 +3,7 @@
CONFIG_ARC=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_SEM=y
CONFIG_BOARD_NSIM_EM=y
CONFIG_BOARD_NSIM=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_OUTPUT_BIN=n
@@ -3,7 +3,7 @@
CONFIG_ARC=y
CONFIG_SOC_NSIM=y
CONFIG_SOC_NSIM_SEM=y
CONFIG_BOARD_NSIM_EM=y
CONFIG_BOARD_NSIM=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_OUTPUT_BIN=n
File renamed without changes.
File renamed without changes.

This file was deleted.

0 comments on commit b1dcf05

Please sign in to comment.
You can’t perform that action at this time.