i2c: Add missing clocks + more refactoring
This commit is contained in:
1 parent
3028568019
commit
23e246f224
4 files changed
+105
-73
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user