summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/flash.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-02-13 18:38:59 +0100
committerUros Majstorovic <majstor@majstor.org>2025-02-13 18:38:59 +0100
commit2d238f621b57a10dd262be124e0771ba1826347a (patch)
tree7f5e04e560e63af8b1b046f5f532aae24d060258 /fw/fe310/eos/dev/flash.h
parentb74fe91ca04484567b10bb7f3136d39d5e2363d8 (diff)
moved other drivers to drv/
Diffstat (limited to 'fw/fe310/eos/dev/flash.h')
-rw-r--r--fw/fe310/eos/dev/flash.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/fw/fe310/eos/dev/flash.h b/fw/fe310/eos/dev/flash.h
deleted file mode 100644
index 6f792cb..0000000
--- a/fw/fe310/eos/dev/flash.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdint.h>
-
-#define EOS_FLASH_RDSR 0x05
-
-#define EOS_FLASH_NORD 0x03
-#define EOS_FLASH_FRD 0x0b
-
-#define EOS_FLASH_WREN 0x06
-#define EOS_FLASH_SER 0x20
-#define EOS_FLASH_PP 0x02
-
-#define EOS_FLASH_QPIEN 0x35
-#define EOS_FLASH_QPIDI 0xF5
-
-#define EOS_FLASH_WIP 0x01
-#define EOS_FLASH_WEL 0x02
-
-void eos_flash_init(void);
-void eos_flash_norm(void);
-void eos_flash_fast(void);
-
-void eos_flash_wip(void);
-void eos_flash_wren(void);
-void eos_flash_ser(uint32_t addr);
-void eos_flash_pp(uint32_t addr, uint8_t *buf); \ No newline at end of file