Skip to content

Commit c63986f

Browse files
author
Wayne Ren
authored
Merge pull request #76 from foss-for-synopsys-dwc-arc-processors/feature/2018_12_RC2
Feature/2018 12 rc2
2 parents 6a864b6 + e8c5947 commit c63986f

File tree

212 files changed

+9255
-39315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+9255
-39315
lines changed

arc/startup/arc_startup.s

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,23 @@ _s3_clear_bss_loop:
191191
cmp r0, r1
192192
jlt _s3_clear_bss_loop
193193

194+
#if ARC_FEATURE_STACK_CHECK
195+
mov r0, _e_stack
196+
mov r1, _f_stack
197+
#if ARC_FEATURE_SEC_PRESENT
198+
sr r1, [AUX_S_KSTACK_TOP]
199+
sr r0, [AUX_S_KSTACK_BASE]
200+
lr r0, [AUX_SEC_STAT]
201+
bset r0, r0, AUX_SEC_STAT_BIT_SSC
202+
sflag r0
203+
#else
204+
sr r1, [AUX_KSTACK_TOP]
205+
sr r0, [AUX_KSTACK_BASE]
206+
lr r0, [AUX_STATUS32]
207+
bset r0, r0, AUX_STATUS_BIT_SC
208+
kflag r0
209+
#endif
210+
#endif
194211
/* STAGE 3: go to main */
195212

196213
_arc_reset_call_main:

board/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static TaskHandle_t task_handle_ntshell;
8888
#else /* No middleware ntshell,will activate main task */
8989

9090
#ifndef TASK_STACK_SIZE_MAIN
91-
#define TASK_STACK_SIZE_MAIN MIN_STACKSZ(1024)
91+
#define TASK_STACK_SIZE_MAIN MIN_STACKSZ(4096)
9292
#endif
9393

9494
#ifndef TASK_PRI_MAIN

board/emsdp/drivers/ip/designware/sdio/dw_sdio_obj.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static void dw_sdio_0_install(void)
9191

9292
dw_sdio_ctrl_ptr->reg_base = (void *) EMSDP_SDIO_BASE;
9393
dw_sdio_ctrl_ptr->intno = EMSDP_SDIO_INTR;
94-
dw_sdio_ctrl_ptr->ref_clk = 200000000;
94+
dw_sdio_ctrl_ptr->ref_clk = EMSDP_REF_CLOCK;
9595
dw_sdio_ctrl_ptr->fifo_depth = 128;
9696

9797
dw_sdio_ptr->open = dw_sdio_0_open;

board/emsdp/emsdp.mk

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
BOARD_EMSDP_DIR = $(BOARDS_ROOT)/emsdp
1111
##
1212
# board version definition
13-
# rev1 stands for revision 1
13+
# rev2 stands for revision 2
1414
# When you don't specify BD_VER
1515
# in any other place or through make options
1616
# it will select a proper BD_VER according to your core
1717
##
18-
SUPPORTED_BD_VERS = rev1 rev2
18+
SUPPORTED_BD_VERS = rev2
1919

2020
## Select Board Version
2121
BD_VER ?= rev2
@@ -101,7 +101,9 @@ BOARD_EMSDP_CSRCDIR += $(BOARD_EMSDP_DIR)/drivers/pmwifi
101101
endif
102102

103103
BOARD_EMSDP_ASMSRCDIR += $(BOARD_EMSDP_DEV_ASMSRCDIR) $(BOARD_CORE_DIR)
104-
BOARD_EMSDP_INCDIR += $(BOARD_EMSDP_DEV_INCDIR) $(BOARD_CORE_DIR) $(BOARD_EMSDP_DIR)/$(VALID_BD_VER)/configs
104+
BOARD_EMSDP_INCDIR += $(BOARD_EMSDP_DEV_INCDIR) \
105+
$(BOARD_EMSDP_DIR)/$(VALID_BD_VER)/configs \
106+
$(BOARD_CORE_DIR)/include
105107

106108

107109
# find all the source files in the target directories

board/emsdp/rev1/configs/core_compiler.mk

Lines changed: 0 additions & 15 deletions
This file was deleted.

board/emsdp/rev1/configs/core_configs.mk

Lines changed: 0 additions & 50 deletions
This file was deleted.

board/emsdp/rev1/configs/em11d_dfss/core_hardware.h

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)