Browse Source

include: configs: devkits: change eeprom write page size

change eeprom write page size

Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
Ziv Xu 2 months ago
parent
commit
fa958b6efb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/configs/starfive-devkits.h

+ 2 - 1
include/configs/starfive-devkits.h

@@ -367,8 +367,9 @@
  * BYTES_PER_EEPROM_PAGE: the 24FC04H datasheet says that data can
  * only be written in page mode, which means 16 bytes at a time:
  * 16-Byte Page Write Buffer
+ * For compatibility with 24FC02, PAGE SIZE is set to 8
  */
-#define BYTES_PER_EEPROM_PAGE			16
+#define BYTES_PER_EEPROM_PAGE			8
 
 /*
  * EEPROM_WRITE_DELAY_MS: the 24FC04H datasheet says it takes up to