diff options
author | Ziv Xu <ziv.xu@starfivetech.com> | 2024-02-06 12:09:19 +0300 |
---|---|---|
committer | Ziv Xu <ziv.xu@starfivetech.com> | 2024-02-06 12:09:23 +0300 |
commit | c402e73ac474ba396ba0aeaf7ca93c757ba95c66 (patch) | |
tree | d8b673fa611bc04d06c1ac291d89c0ae1bb6fa21 | |
parent | 7277a071034220c99a6d8beffddef277725e9475 (diff) | |
download | u-boot-c402e73ac474ba396ba0aeaf7ca93c757ba95c66.tar.xz |
board: starfive: visionfive: change eeprom write pagesize
change eeprom write pagesize
Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
-rw-r--r-- | board/starfive/visionfive2/visionfive2-i2c-eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/starfive/visionfive2/visionfive2-i2c-eeprom.c b/board/starfive/visionfive2/visionfive2-i2c-eeprom.c index 5f2e698ad9..8b8516f8c0 100644 --- a/board/starfive/visionfive2/visionfive2-i2c-eeprom.c +++ b/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 |