Skip to content

Commit

Permalink
Merge pull request #76 from foss-for-synopsys-dwc-arc-processors/feat…
Browse files Browse the repository at this point in the history
…ure/2018_12_RC2

Feature/2018 12 rc2
  • Loading branch information
Wayne Ren authored Jan 18, 2019
2 parents 6a864b6 + e8c5947 commit c63986f
Show file tree
Hide file tree
Showing 212 changed files with 9,255 additions and 39,315 deletions.
17 changes: 17 additions & 0 deletions arc/startup/arc_startup.s
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,23 @@ _s3_clear_bss_loop:
cmp r0, r1
jlt _s3_clear_bss_loop

#if ARC_FEATURE_STACK_CHECK
mov r0, _e_stack
mov r1, _f_stack
#if ARC_FEATURE_SEC_PRESENT
sr r1, [AUX_S_KSTACK_TOP]
sr r0, [AUX_S_KSTACK_BASE]
lr r0, [AUX_SEC_STAT]
bset r0, r0, AUX_SEC_STAT_BIT_SSC
sflag r0
#else
sr r1, [AUX_KSTACK_TOP]
sr r0, [AUX_KSTACK_BASE]
lr r0, [AUX_STATUS32]
bset r0, r0, AUX_STATUS_BIT_SC
kflag r0
#endif
#endif
/* STAGE 3: go to main */

_arc_reset_call_main:
Expand Down
2 changes: 1 addition & 1 deletion board/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static TaskHandle_t task_handle_ntshell;
#else /* No middleware ntshell,will activate main task */

#ifndef TASK_STACK_SIZE_MAIN
#define TASK_STACK_SIZE_MAIN MIN_STACKSZ(1024)
#define TASK_STACK_SIZE_MAIN MIN_STACKSZ(4096)
#endif

#ifndef TASK_PRI_MAIN
Expand Down
2 changes: 1 addition & 1 deletion board/emsdp/drivers/ip/designware/sdio/dw_sdio_obj.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void dw_sdio_0_install(void)

dw_sdio_ctrl_ptr->reg_base = (void *) EMSDP_SDIO_BASE;
dw_sdio_ctrl_ptr->intno = EMSDP_SDIO_INTR;
dw_sdio_ctrl_ptr->ref_clk = 200000000;
dw_sdio_ctrl_ptr->ref_clk = EMSDP_REF_CLOCK;
dw_sdio_ctrl_ptr->fifo_depth = 128;

dw_sdio_ptr->open = dw_sdio_0_open;
Expand Down
8 changes: 5 additions & 3 deletions board/emsdp/emsdp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
BOARD_EMSDP_DIR = $(BOARDS_ROOT)/emsdp
##
# board version definition
# rev1 stands for revision 1
# rev2 stands for revision 2
# When you don't specify BD_VER
# in any other place or through make options
# it will select a proper BD_VER according to your core
##
SUPPORTED_BD_VERS = rev1 rev2
SUPPORTED_BD_VERS = rev2

## Select Board Version
BD_VER ?= rev2
Expand Down Expand Up @@ -101,7 +101,9 @@ BOARD_EMSDP_CSRCDIR += $(BOARD_EMSDP_DIR)/drivers/pmwifi
endif

BOARD_EMSDP_ASMSRCDIR += $(BOARD_EMSDP_DEV_ASMSRCDIR) $(BOARD_CORE_DIR)
BOARD_EMSDP_INCDIR += $(BOARD_EMSDP_DEV_INCDIR) $(BOARD_CORE_DIR) $(BOARD_EMSDP_DIR)/$(VALID_BD_VER)/configs
BOARD_EMSDP_INCDIR += $(BOARD_EMSDP_DEV_INCDIR) \
$(BOARD_EMSDP_DIR)/$(VALID_BD_VER)/configs \
$(BOARD_CORE_DIR)/include


# find all the source files in the target directories
Expand Down
15 changes: 0 additions & 15 deletions board/emsdp/rev1/configs/core_compiler.mk

This file was deleted.

50 changes: 0 additions & 50 deletions board/emsdp/rev1/configs/core_configs.mk

This file was deleted.

71 changes: 0 additions & 71 deletions board/emsdp/rev1/configs/em11d_dfss/core_hardware.h

This file was deleted.

Loading

0 comments on commit c63986f

Please sign in to comment.