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) 2014 Wind River Systems, Inc.
|
|
|
|
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
choice
|
2019-11-01 17:24:07 +08:00
|
|
|
prompt "ARC EM Starter Kit Core Selection"
|
|
|
|
default SOC_EMSK_EM7D
|
2020-02-10 05:26:07 +08:00
|
|
|
depends on SOC_EMSK
|
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 SOC_EMSK_EM7D
|
|
|
|
bool "Synopsys ARC EM7D of EMSK"
|
|
|
|
select CPU_HAS_MPU
|
|
|
|
|
|
|
|
config SOC_EMSK_EM11D
|
|
|
|
bool "Synopsys ARC EM11D of EMSK"
|
|
|
|
select CPU_HAS_FPU
|
|
|
|
|
|
|
|
config SOC_EMSK_EM9D
|
|
|
|
bool "Synopsys ARC EM9D of EMSK"
|
|
|
|
select CPU_HAS_FPU
|
|
|
|
|
|
|
|
endchoice
|