Skip to content

Commit

Permalink
board/nsim: Make it CPU-family independent
Browse files Browse the repository at this point in the history
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 6, 2019
1 parent bceaed6 commit b1dcf05
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 20 deletions.
File renamed without changes.
13 changes: 13 additions & 0 deletions boards/arc/nsim/Kconfig.board
@@ -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
Expand All @@ -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.
Expand Up @@ -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
Expand Down
File renamed without changes.
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
Expand Up @@ -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
Expand Down
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions boards/arc/nsim_em/Kconfig.board

This file was deleted.

0 comments on commit b1dcf05

Please sign in to comment.