boards: em_starterkit: Add board firmware version config option

Signed-off-by: Huaqi Fang <huaqi.fang@synopsys.com>
This commit is contained in:
Huaqi Fang 2017-06-15 04:28:24 -04:00 committed by Anas Nashif
parent d4e9c97173
commit 55fc1f53fe
3 changed files with 26 additions and 2 deletions

View file

@ -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

View file

@ -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.

View file

@ -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