summaryrefslogtreecommitdiff
path: root/include/configs/starfive-devkits.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/starfive-devkits.h')
-rw-r--r--include/configs/starfive-devkits.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/starfive-devkits.h b/include/configs/starfive-devkits.h
index b7547d8064..9ff0ef99f7 100644
--- a/include/configs/starfive-devkits.h
+++ b/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