summaryrefslogtreecommitdiff
path: root/firmware/fw_common.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/fw_common.S')
-rw-r--r--firmware/fw_common.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/fw_common.S b/firmware/fw_common.S
index 9963fdd..afe14a1 100644
--- a/firmware/fw_common.S
+++ b/firmware/fw_common.S
@@ -121,6 +121,8 @@ _wait_for_boot_hart:
_start_warm:
/* Disable and clear all interrupts */
+ csrw mideleg, zero
+ csrw medeleg, zero
csrw mie, zero
csrw mip, zero