Skip to content

Commit

Permalink
[sw/top_darjeeling] Remove flash access disablement from IRQ handler
Browse files Browse the repository at this point in the history
We do not have an MMIO mapped flash controller, so this access generated
a fault.

Signed-off-by: Samuel Ortiz <[email protected]>
  • Loading branch information
sameo authored and andreaskurth committed Jan 5, 2024
1 parent edef349 commit e435ee1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions sw/top_darjeeling/sw/device/silicon_creator/irq_asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ _asm_exception_handler:
li t1, MULTIBIT_ASM_BOOL4_TRUE
sw t1, RSTMGR_RESET_REQ_REG_OFFSET(t0)

// Disable access to flash.
//
// This is done after requesting a reset so that this function will
// work even if it is in flash.
li t0, TOP_DARJEELING_FLASH_CTRL_CORE_BASE_ADDR
sw zero, FLASH_CTRL_DIS_REG_OFFSET(t0)

wfi
j .L_exception_loop
.size _asm_exception_handler, .-_asm_exception_handler

0 comments on commit e435ee1

Please sign in to comment.