Skip to content

Commit

Permalink
boards: em_starterkit: Add board firmware version config option
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi authored and Anas Nashif committed Aug 10, 2017
1 parent d4e9c97 commit 55fc1f5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
23 changes: 23 additions & 0 deletions boards/arc/em_starterkit/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Kconfig - DesignWare ARC EM Starter Kit board configuration options

#
# Copyright (c) 2017 Synopsys, Inc. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

if BOARD_EM_STARTERKIT

choice
prompt "Board Firmware Version"
default BOARD_EM_STARTERKIT_R23

config BOARD_EM_STARTERKIT_R22
bool "2.2"

config BOARD_EM_STARTERKIT_R23
bool "2.3"

endchoice

endif
4 changes: 2 additions & 2 deletions boards/arc/em_starterkit/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ config BOARD_EM_STARTERKIT
help
The DesignWare ARC EM Starter Kit board is a board
that can host up to 3 different SOC FPGA bit files.
Version 2.3 firmware supports EM7D, EM9D and EM11D configurations.
Both version 2.2 and 2.3 firmware have EM7D, EM9D and EM11D configurations.
EM9D using CCM memories and is a Harvard Architecture.
EM7D and EM11D have access to 128MB DRAM and use i-cache and d-cache.
EM7D has secureshield feature, which is not supported in Zephyr currently.
EM7D of EMSK 2.3 has secureshield feature, which is not supported in Zephyr currently.
1 change: 1 addition & 0 deletions boards/arc/em_starterkit/em_starterkit_defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CONFIG_ARC=y
CONFIG_SOC_EM9D=y
CONFIG_BOARD_EM_STARTERKIT=y
CONFIG_BOARD_EM_STARTERKIT_R23=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_XIP=n
CONFIG_PRINTK=y
Expand Down

0 comments on commit 55fc1f5

Please sign in to comment.