2016-05-21 11:59:25 +08:00
|
|
|
# Copyright (c) 2014 Wind River Systems, Inc.
|
arch: arc: refactor the soc part of em_starterkit
The original em7d, em9d and em11d are different configurations of
em_starterkit. They have the same peripherals, e.g. uart, spi, gpio
, ddr. The differences of them are in arc core configurations, interrupt
number assignment.
So em7d, em9d and em11d can be viewed in the same SoC family or SoC
series.
Referring other arch's implementation, this commit merges em7d, em9d
and em11d into the same SoC, named snps_emsk. This will eliminate
unnecessary duplication and make it easier for future maintainment.
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2018-04-28 10:10:15 +08:00
|
|
|
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-05-21 11:59:25 +08:00
|
|
|
|
arch: arc: refactor the soc part of em_starterkit
The original em7d, em9d and em11d are different configurations of
em_starterkit. They have the same peripherals, e.g. uart, spi, gpio
, ddr. The differences of them are in arc core configurations, interrupt
number assignment.
So em7d, em9d and em11d can be viewed in the same SoC family or SoC
series.
Referring other arch's implementation, this commit merges em7d, em9d
and em11d into the same SoC, named snps_emsk. This will eliminate
unnecessary duplication and make it easier for future maintainment.
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2018-04-28 10:10:15 +08:00
|
|
|
if SOC_EMSK_EM11D
|
2016-05-21 11:59:25 +08:00
|
|
|
|
arch: arc: refactor the soc part of em_starterkit
The original em7d, em9d and em11d are different configurations of
em_starterkit. They have the same peripherals, e.g. uart, spi, gpio
, ddr. The differences of them are in arc core configurations, interrupt
number assignment.
So em7d, em9d and em11d can be viewed in the same SoC family or SoC
series.
Referring other arch's implementation, this commit merges em7d, em9d
and em11d into the same SoC, named snps_emsk. This will eliminate
unnecessary duplication and make it easier for future maintainment.
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2018-04-28 10:10:15 +08:00
|
|
|
config CPU_EM4_FPUDA
|
2019-10-25 11:00:41 +08:00
|
|
|
default y
|
2016-05-21 11:59:25 +08:00
|
|
|
|
|
|
|
config NUM_IRQ_PRIO_LEVELS
|
|
|
|
# This processor supports 4 priority levels:
|
|
|
|
# 0 for Fast Interrupts (FIRQs) and 1-3 for Regular Interrupts (IRQs).
|
2017-07-11 10:39:54 +08:00
|
|
|
default 4
|
2016-05-21 11:59:25 +08:00
|
|
|
|
2016-05-25 07:17:13 +08:00
|
|
|
config NUM_IRQS
|
2016-05-21 11:59:25 +08:00
|
|
|
# must be > the highest interrupt number used
|
2017-06-15 17:18:04 +08:00
|
|
|
default 38 if BOARD_EM_STARTERKIT_R23
|
|
|
|
default 36 if BOARD_EM_STARTERKIT_R22
|
2016-05-21 11:59:25 +08:00
|
|
|
|
2016-10-08 01:29:11 +08:00
|
|
|
config RGF_NUM_BANKS
|
|
|
|
default 2
|
|
|
|
|
2016-05-21 11:59:25 +08:00
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 20000000
|
|
|
|
|
|
|
|
config HARVARD
|
2018-11-14 00:15:49 +08:00
|
|
|
default n
|
2016-05-21 11:59:25 +08:00
|
|
|
|
2020-12-03 17:49:00 +08:00
|
|
|
config CACHE_MANAGEMENT
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2016-11-05 05:48:23 +08:00
|
|
|
|
boards: Update arc em_starterkit support from 2.2 to 2.3
Here are the main changes:
* board: Update EMSK onboard resources such as Button, Switch and LEDs
+ update soc.h for em7d, em9d, em11d
+ update board.h for em_starterkit board
* arc: Add floating point support and code density support
+ add kconfig configuration
+ add compiler options
+ add register definitions, marcos, assembly codes
+ fixes in existing codes and configurations.
* arc: Update detailed board configurations for cores of emsk 2.3
* script: Provide arc_debugger.sh for debugging em_starterkit board
+ make BOARD=em_starterkit debug
This will start openocd server for emsk, and arc gdb will connect
to this debug server, user can run `continue` command if user just
want to run the application, or other commands if debugging needed.
+ make BOARD=em_starterkit debugserver
This will start an openocd debugger server for emsk, and user can
connect to this debugserver using arc gdb and do what they want to.
+ make BOARD=em_starterkit flash
This will download the zephyr application elf file to emsk,
and run it.
Signed-off-by: Huaqi Fang <huaqi.fang@synopsys.com>
2017-05-17 15:18:51 +08:00
|
|
|
config FP_FPU_DA
|
2019-10-25 12:25:49 +08:00
|
|
|
default y
|
boards: Update arc em_starterkit support from 2.2 to 2.3
Here are the main changes:
* board: Update EMSK onboard resources such as Button, Switch and LEDs
+ update soc.h for em7d, em9d, em11d
+ update board.h for em_starterkit board
* arc: Add floating point support and code density support
+ add kconfig configuration
+ add compiler options
+ add register definitions, marcos, assembly codes
+ fixes in existing codes and configurations.
* arc: Update detailed board configurations for cores of emsk 2.3
* script: Provide arc_debugger.sh for debugging em_starterkit board
+ make BOARD=em_starterkit debug
This will start openocd server for emsk, and arc gdb will connect
to this debug server, user can run `continue` command if user just
want to run the application, or other commands if debugging needed.
+ make BOARD=em_starterkit debugserver
This will start an openocd debugger server for emsk, and user can
connect to this debugserver using arc gdb and do what they want to.
+ make BOARD=em_starterkit flash
This will download the zephyr application elf file to emsk,
and run it.
Signed-off-by: Huaqi Fang <huaqi.fang@synopsys.com>
2017-05-17 15:18:51 +08:00
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # SOC_EMSK_EM11D
|