Browse Source

board: starfive: visionfive: change eeprom write pagesize

change eeprom write pagesize

Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
Ziv Xu 2 months ago
parent
commit
c402e73ac4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      board/starfive/visionfive2/visionfive2-i2c-eeprom.c

+ 1 - 1
board/starfive/visionfive2/visionfive2-i2c-eeprom.c

@@ -23,7 +23,7 @@
  * only be written in page mode, which means 16 bytes at a time:
  * 16-Byte Page Write Buffer
  */
-#define BYTES_PER_EEPROM_PAGE			16
+#define BYTES_PER_EEPROM_PAGE			8
 
 /*
  * EEPROM_WRITE_DELAY_MS: the 24FC04H datasheet says it takes up to