From 74d14b8ff71c8c80ccdf4eaa6cd0b16e4821da54 Mon Sep 17 00:00:00 2001 From: Tao Xia Date: Fri, 2 Apr 2021 11:44:10 +0800 Subject: mb/google/dedede/var/storo: Modify eeprom setting for MIPI camera Currently, it fails to dump the nvme data by test command. It reports the following error: cat: '/sys/bus/i2c/devices/i2c-PRP0001:01/eeprom': Connection timed out So increase the value from 0x0400 to 0x2000 and double the address width from 0x08 to 0x10 to solve this problem. BUG=b:177393430 TEST=1. cat /sys/bus/i2c/devices/i2c-PRP0001:01/eeprom > /tmp/ov8856_eeprom.bin 2. hexdump -C /tmp/ov8856_eeprom.bin > ov8856_eeprom_dump.log 3. cat ov8856_eeprom_dump.log Signed-off-by: Tao Xia Change-Id: Ia933927981f07e0f7954a4bc6d82f0bdd70181f5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52048 Reviewed-by: Karthik Ramasubramanian Reviewed-by: ShawnX Tu Reviewed-by: Wentao Qin Tested-by: build bot (Jenkins) --- src/mainboard/google/dedede/variants/storo/overridetree.cb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/dedede') diff --git a/src/mainboard/google/dedede/variants/storo/overridetree.cb b/src/mainboard/google/dedede/variants/storo/overridetree.cb index ddf195231d..14eed3d54f 100644 --- a/src/mainboard/google/dedede/variants/storo/overridetree.cb +++ b/src/mainboard/google/dedede/variants/storo/overridetree.cb @@ -195,10 +195,10 @@ chip soc/intel/jasperlake register "chip_name" = ""GT24C08"" register "device_type" = "INTEL_ACPI_CAMERA_NVM" - register "nvm_size" = "0x0400" + register "nvm_size" = "0x2000" register "nvm_pagesize" = "1" register "nvm_readonly" = "1" - register "nvm_width" = "0x08" + register "nvm_width" = "0x10" register "nvm_compat" = ""atmel,24c08"" device i2c 50 on end -- cgit v1.2.3