summaryrefslogtreecommitdiff
path: root/include/configs/starfive-devkits.h
diff options
context:
space:
mode:
authorandy.hu <andy.hu@starfivetech.com>2024-02-23 10:15:21 +0300
committerandy.hu <andy.hu@starfivetech.com>2024-02-23 10:15:21 +0300
commitf1b1c9ad3e64a9ac868042e898153b11828a5ea9 (patch)
tree65b17ad0dffe7494ea228d7c562b2b2dc0f6c07e /include/configs/starfive-devkits.h
parent91e61488a6cbf48bc3a83b74919778c46cd8e459 (diff)
parentfa958b6efb4490598e55cb5b73c32616b3966576 (diff)
downloadu-boot-f1b1c9ad3e64a9ac868042e898153b11828a5ea9.tar.xz
Merge branch 'CR_9208_DEVKITS_EEPROM_ziv.xu' into 'jh7110-master'
CR_9208_DEVKITS_EEPROM_ziv.xu See merge request sdk/u-boot!79
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