瀏覽代碼

fw: drop RTC I2C frequency to 100 kHz

H. Peter Anvin 3 年之前
父節點
當前提交
ef652637f0
共有 2 個文件被更改,包括 2784 次插入2787 次删除
  1. 2783 2783
      fw/boot.mif
  2. 1 4
      fw/rtc.c

File diff suppressed because it is too large
+ 2783 - 2783
fw/boot.mif


+ 1 - 4
fw/rtc.c

@@ -50,10 +50,7 @@ void read_rtc(void)
     uint8_t rtc_regs[RTC_REGS];
     int i;
     
-    i2c_set_speed(400);
-    
-    /* Synchronize I2C */
-    i2c_send(0xff, I2C_P);
+    i2c_set_speed(100);
     
     i2c_send(RTC_WCMD, 0);
 

Some files were not shown because too many files changed in this diff