summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/eve/eve.h')
-rw-r--r--fw/fe310/eos/eve/eve.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/eve.h b/fw/fe310/eos/eve/eve.h
index b2c1141..39e96cb 100644
--- a/fw/fe310/eos/eve/eve.h
+++ b/fw/fe310/eos/eve/eve.h
@@ -37,8 +37,8 @@ void eve_write8(uint32_t addr, uint8_t data);
void eve_write16(uint32_t addr, uint16_t data);
void eve_write32(uint32_t addr, uint32_t data);
-void eve_readb(uint32_t addr, uint8_t *b, size_t size);
-void eve_writeb(uint32_t addr, uint8_t *b, size_t size);
+void eve_readb(uint32_t addr, uint8_t *buf, size_t size);
+void eve_writeb(uint32_t addr, uint8_t *buf, size_t size);
void eve_dl_start(uint32_t addr, char burst);
void eve_dl_write(uint32_t dl);
@@ -47,6 +47,8 @@ void eve_dl_swap(void);
uint32_t eve_dl_get_addr(void);
void eve_cmd(uint32_t cmd, const char *fmt, ...);
+void eve_cmd_write(uint8_t *buffer, size_t size);
+void eve_cmd_end(void);
uint32_t eve_cmd_result(uint16_t offset);
void eve_cmd_dl(uint32_t dl);
int eve_cmd_done(void);