summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerin Yeh <serin.yeh@intel.corp-partner.google.com>2023-08-02 19:00:46 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-08-09 13:42:32 +0000
commit57a9e6a9e39c8f8fab57cac70ef6fda22611dc5d (patch)
tree9b5f9879d8aea8218a3e757051839839cb89b7f6
parent8a0e6b5c74d3103686f44dc81eab1d29ea6b317a (diff)
mb/google/brya/var/yavilla: Modify NVM size and width size
NVM has 8KB to store camera module related settings and parameters. According to NVM hardware spec, the NVM size should be 0x400 and the width size should be 0x08. Re-set the right NVM format and ensure camera related configs can get the correct module information. BUG=b:294155898 TEST=none Change-Id: I58932bc0f3dd935aa0ea8e68b2a4b0ae4907b316 Signed-off-by: Serin Yeh <serin.yeh@intel.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76893 Reviewed-by: Derek Huang <derekhuang@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/mainboard/google/brya/variants/yavilla/overridetree.cb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/yavilla/overridetree.cb b/src/mainboard/google/brya/variants/yavilla/overridetree.cb
index 7605cf2d1d..86e784e42d 100644
--- a/src/mainboard/google/brya/variants/yavilla/overridetree.cb
+++ b/src/mainboard/google/brya/variants/yavilla/overridetree.cb
@@ -366,10 +366,10 @@ chip soc/intel/alderlake
register "chip_name" = ""GT24C08""
register "device_type" = "INTEL_ACPI_CAMERA_NVM"
- register "nvm_size" = "0x2000"
+ register "nvm_size" = "0x400"
register "nvm_pagesize" = "1"
register "nvm_readonly" = "1"
- register "nvm_width" = "0x10"
+ register "nvm_width" = "0x08"
register "nvm_compat" = ""atmel,24c08""
device i2c 50 on