1# Copyright (c) 2014 Wind River Systems, Inc. 2# Copyright (c) 2018 Synopsys, Inc. All rights reserved. 3# SPDX-License-Identifier: Apache-2.0 4 5if SOC_EMSK_EM7D 6 7config CPU_EM4_DMIPS 8 default y 9 10config NUM_IRQ_PRIO_LEVELS 11 # This processor supports 4 priority levels: 12 # 0 for Fast Interrupts (FIRQs) and 1-3 for Regular Interrupts (IRQs). 13 default 4 14 15config NUM_IRQS 16 # must be > the highest interrupt number used 17 default 38 if "$(BOARD_REVISION)" = "2.3" 18 default 36 if "$(BOARD_REVISION)" = "2.2" 19 20config ARC_MPU_VER 21 default 4 if "$(BOARD_REVISION)" = "2.3" 22 default 2 if "$(BOARD_REVISION)" = "2.2" 23 24config RGF_NUM_BANKS 25 default 1 26 27config SYS_CLOCK_HW_CYCLES_PER_SEC 28 default 25000000 if "$(BOARD_REVISION)" = "2.3" 29 default 30000000 if "$(BOARD_REVISION)" = "2.2" 30 31config HARVARD 32 default y 33 34config ARC_FIRQ 35 default n if "$(BOARD_REVISION)" = "2.3" 36 default y if "$(BOARD_REVISION)" = "2.2" 37 38config CACHE_MANAGEMENT 39 default y 40 41if (ARC_MPU_VER = 2) 42 43config MAIN_STACK_SIZE 44 default 2048 45 46config IDLE_STACK_SIZE 47 default 2048 48 49config ZTEST_STACK_SIZE 50 default 2048 51 depends on ZTEST 52 53endif # ARC_MPU_VER 54 55endif # SOC_EMSK_EM7D 56