Jamie Ryu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76189?usp=email )
Change subject: mb/google/rex: Reduce camera NVM size to 8KB ......................................................................
mb/google/rex: Reduce camera NVM size to 8KB
The actual NVM size of camera module is 64KB; however, only 8KB is in use to store data. This reduces the size of both NVM0 and NVM1 to 8KB to minimize the time taken to read NVM and launch Camera preview.
BUG=NONE TEST=Launch camera and check the time taken to read eeprom and show camera preview. It takes 2 to 3 seconds to show camera preview while it takes 4 to 5 seconds without the change.
Change-Id: I0e2272b3307fea60ea7406fc6899ae2cb0134fa3 Signed-off-by: Jamie Ryu jamie.m.ryu@intel.com --- M src/mainboard/google/rex/variants/rex0/overridetree.cb 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/76189/1
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index 4f74ea4..793a46d 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -535,10 +535,10 @@
register "nvm_compat" = ""atmel,24c64""
- register "nvm_size" = "0x10000" + register "nvm_size" = "0x2000" register "nvm_pagesize" = "0x01" register "nvm_readonly" = "0x01" - register "nvm_width" = "0x0E" + register "nvm_width" = "0x10"
register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D0"
@@ -656,7 +656,7 @@ register "chip_name" = ""ST M24C64X"" register "device_type" = "INTEL_ACPI_CAMERA_NVM"
- register "nvm_size" = "0x10000" + register "nvm_size" = "0x2000" register "nvm_pagesize" = "1" register "nvm_readonly" = "1" register "nvm_width" = "0x10"