summaryrefslogtreecommitdiff
path: root/bsp/env
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2017-01-31 20:25:38 -0800
committerMegan Wachs <megan@sifive.com>2017-01-31 20:25:38 -0800
commit0adc37422f48e9468d980a1d98dcc65bd7ab3043 (patch)
tree377db6555a25b8e64e6bc7c4ad63c4623a96e5f6 /bsp/env
parent43942973cd9b61dc94bb52be53a99f8ca711eb7e (diff)
add a 'driver' common PRCI functions.
Diffstat (limited to 'bsp/env')
-rw-r--r--bsp/env/hifive1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/env/hifive1.h b/bsp/env/hifive1.h
index 11b98f8..4c65f18 100644
--- a/bsp/env/hifive1.h
+++ b/bsp/env/hifive1.h
@@ -74,6 +74,8 @@
#define HAS_HFXOSC 1
#define HAS_LFROSC_BYPASS 1
+#define RTC_FREQ 32768
+
void write_hex(int fd, uint32_t hex);
#endif /* _SIFIVE_HIFIVE1_H */