summaryrefslogtreecommitdiff
path: root/src/vendorcode/cavium/Makefile.inc
diff options
context:
space:
mode:
authorJamie Ryu <jamie.m.ryu@intel.com>2023-06-30 17:07:55 -0700
committerSubrata Banik <subratabanik@google.com>2023-07-11 10:20:37 +0000
commit82b0635969d7b8496207c30b5c66ebbcf3bb9748 (patch)
tree4aa758d0ddea8f51c4b56c418257f3319737e0e1 /src/vendorcode/cavium/Makefile.inc
parentb940728295adb3c122ad3f684aab43a53d431da5 (diff)
mb/google/rex/var/rex0: 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 Chrome camera application and check the time taken to read eeprom from camera service log and show camera preview. It takes 2 to 3 seconds to show camera preview while it takes 4 to 5 seconds without the changes. Before the changes: 06:21:04.204944Z OpenDevice(): camera_id = 1 06:21:07.297584Z Read camera eeprom from eeprom 06:21:08.763491Z Read camera eeprom from nvmem After the changes: 21:37:23.923676Z OpenDevice(): camera_id = 1 21:37:24.386020Z Read camera eeprom from eeprom 21:37:24.574515Z Read camera eeprom from nvmem Change-Id: I0e2272b3307fea60ea7406fc6899ae2cb0134fa3 Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76189 Reviewed-by: Kiran2 Kumar <kiran2.kumar@intel.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/vendorcode/cavium/Makefile.inc')
0 files changed, 0 insertions, 0 deletions