summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/sdcard.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
committerUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
commit412a8f99928beff605805807b0f07f6bf8d0a965 (patch)
tree366f1768ddfd32960c5d26ca3fba14e82c3b571e /fw/fe310/eos/sdcard.h
parent9ccb4db8d59ec9dab33ee8617d462f21a8bb4fa8 (diff)
code rename
Diffstat (limited to 'fw/fe310/eos/sdcard.h')
-rw-r--r--fw/fe310/eos/sdcard.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/fw/fe310/eos/sdcard.h b/fw/fe310/eos/sdcard.h
deleted file mode 100644
index 910a6e0..0000000
--- a/fw/fe310/eos/sdcard.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <stdint.h>
-
-#define EOS_SDC_TYPE_MMC 0x01
-
-#define EOS_SDC_TYPE_SDC1 0x04
-#define EOS_SDC_TYPE_SDC2 0x08
-#define EOS_SDC_TYPE_SDC 0x0c
-#define EOS_SDC_TYPE_MASK 0x0f
-
-#define EOS_SDC_CAP_BLK 0x10
-#define EOS_SDC_CAP_ERASE_EN 0x20
-#define EOS_SDC_CAP_MASK 0xf0
-
-int eos_sdc_init(uint8_t wakeup_cause);
-uint8_t eos_sdc_type(void);
-uint8_t eos_sdc_cap(void);
-int eos_sdc_get_sect_count(uint32_t timeout, uint32_t *sectors);
-int eos_sdc_get_blk_size(uint32_t timeout, uint32_t *size);
-int eos_sdc_sync(uint32_t timeout);
-int eos_sdc_erase(uint32_t blk_start, uint32_t blk_end, uint32_t timeout);
-int eos_sdc_sect_read(uint32_t sect, unsigned int count, uint8_t *buffer);
-int eos_sdc_sect_write(uint32_t sect, unsigned int count, uint8_t *buffer);