i2c: Add missing clocks + more refactoring

This commit is contained in:
CTCaer committed 2019-09-12 23:11:17 +03:00
1 parent 3028568019
commit 23e246f224
4 files changed
+105 -73

No files matched your search

+5
View File
@@ -18,6 +18,9 @@
#include "../soc/clock.h"
#include "../soc/t210.h"
#pragma GCC push_options
#pragma GCC optimize ("Os")
int kfuse_read(u32 *buf)
{
int res = 0;
@@ -40,3 +43,5 @@ out:;
clock_disable_kfuse();
return res;
}
#pragma GCC pop_options