summaryrefslogtreecommitdiff
path: root/code/fe310/eos/trap_entry.S
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-10-18 18:38:00 +0200
committerUros Majstorovic <majstor@majstor.org>2019-10-18 18:38:00 +0200
commit85500fe0d01b691a9bdd8c2330d26d66bc2bc177 (patch)
treec320c642ebb942d1b3692701d50c4a46e50e49f3 /code/fe310/eos/trap_entry.S
parentf74dcae328e3650acf6b12499a55548b46117877 (diff)
added spi driver
Diffstat (limited to 'code/fe310/eos/trap_entry.S')
-rw-r--r--code/fe310/eos/trap_entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/trap_entry.S b/code/fe310/eos/trap_entry.S
index 7b32050..91a44dc 100644
--- a/code/fe310/eos/trap_entry.S
+++ b/code/fe310/eos/trap_entry.S
@@ -404,8 +404,8 @@ _eos_i2s_start_pwm:
ret
-.global eos_flash_set
-eos_flash_set:
+.global _eos_flash_set
+_eos_flash_set:
li a3, SPI0_CTRL_ADDR
sw x0, SPI_REG_FCTRL(a3)
sw a0, SPI_REG_SCKDIV(a3)