2016-10-19 05:43:40 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2014 Wind River Systems, Inc.
|
|
|
|
# Copyright (c) 2016 Synopsys, Inc. All rights reserved.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-10-19 05:43:40 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
if SOC_EM7D
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
default em7d
|
|
|
|
|
|
|
|
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-10-19 05:43:40 +08:00
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
# must be > the highest interrupt number used
|
2017-06-15 16:32:01 +08:00
|
|
|
default 38 if BOARD_EM_STARTERKIT_R23
|
|
|
|
default 36 if BOARD_EM_STARTERKIT_R22
|
2016-10-19 05:43:40 +08:00
|
|
|
|
2017-11-29 17:31:55 +08:00
|
|
|
config ARC_MPU_VER
|
|
|
|
default 3 if BOARD_EM_STARTERKIT_R23
|
|
|
|
default 2 if BOARD_EM_STARTERKIT_R22
|
|
|
|
|
2016-10-19 05:43:40 +08:00
|
|
|
config RGF_NUM_BANKS
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
2017-06-15 16:32:01 +08:00
|
|
|
default 25000000 if BOARD_EM_STARTERKIT_R23
|
|
|
|
default 30000000 if BOARD_EM_STARTERKIT_R22
|
2016-10-19 05:43:40 +08:00
|
|
|
|
|
|
|
config HARVARD
|
2017-11-29 17:31:55 +08:00
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config ARC_FIRQ
|
|
|
|
def_bool n if BOARD_EM_STARTERKIT_R23
|
|
|
|
def_bool y if BOARD_EM_STARTERKIT_R22
|
2016-10-19 05:43:40 +08:00
|
|
|
|
|
|
|
config FLASH_BASE_ADDRESS
|
|
|
|
default 0x00000000
|
|
|
|
|
|
|
|
config FLASH_SIZE
|
|
|
|
default 0
|
|
|
|
# em7d has no FLASH so size is 0.
|
|
|
|
|
|
|
|
config SRAM_BASE_ADDRESS
|
|
|
|
default 0x10000000
|
|
|
|
|
|
|
|
config SRAM_SIZE
|
|
|
|
default 131072
|
|
|
|
|
|
|
|
config ICCM_BASE_ADDRESS
|
|
|
|
default 0x00000000
|
|
|
|
|
|
|
|
config ICCM_SIZE
|
|
|
|
default 256
|
|
|
|
|
|
|
|
config DCCM_BASE_ADDRESS
|
|
|
|
default 0x80000000
|
|
|
|
|
|
|
|
config DCCM_SIZE
|
|
|
|
default 128
|
|
|
|
|
2016-11-05 05:48:23 +08:00
|
|
|
config CACHE_FLUSHING
|
|
|
|
def_bool y
|
|
|
|
|
2016-10-19 05:43:40 +08:00
|
|
|
endif #SOC_EM7D
|