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 <xiatao5@huaqin.corp-partner.google.com>
Change-Id: Ia933927981f07e0f7954a4bc6d82f0bdd70181f5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52048
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: ShawnX Tu <shawnx.tu@intel.com>
Reviewed-by: Wentao Qin <qinwentao@huaqin.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Tao Xia 2021-04-02 11:44:10 +08:00 committed by Karthik Ramasubramanian
parent 79f5feb8bd
commit 74d14b8ff7
1 changed files with 2 additions and 2 deletions

View File

@ -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