From 85500fe0d01b691a9bdd8c2330d26d66bc2bc177 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 18 Oct 2019 18:38:00 +0200 Subject: added spi driver --- code/fe310/eos/trap_entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/fe310/eos/trap_entry.S') 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) -- cgit v1.2.3