summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/eve/eve.c')
-rw-r--r--fw/fe310/eos/eve/eve.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fw/fe310/eos/eve/eve.c b/fw/fe310/eos/eve/eve.c
index efbd02b..6809d72 100644
--- a/fw/fe310/eos/eve/eve.c
+++ b/fw/fe310/eos/eve/eve.c
@@ -419,7 +419,10 @@ static int _init(void) {
}
int eve_init(int pwr_on) {
+ eve_spi_start();
+
pwr_on = 1; // override this for now
+
if (pwr_on) {
int rv = _init();
if (rv) return rv;
@@ -431,5 +434,7 @@ int eve_init(int pwr_on) {
eve_touch_init();
eve_platform_init();
+ eve_spi_stop();
+
return EVE_OK;
}