From c402e73ac474ba396ba0aeaf7ca93c757ba95c66 Mon Sep 17 00:00:00 2001 From: Ziv Xu Date: Tue, 6 Feb 2024 17:09:19 +0800 Subject: board: starfive: visionfive: change eeprom write pagesize change eeprom write pagesize Signed-off-by: Ziv Xu --- board/starfive/visionfive2/visionfive2-i2c-eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3