summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarshit B Pandya <varshit.b.pandya@intel.com>2021-10-30 15:37:28 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-11-02 08:16:30 +0000
commit73161c644e61e7a6e18ebe0cbb04c573545d1e64 (patch)
treed1ac565ff0920ca26a89ea3064754f7e95859d36
parentfe3189dc9150a8002e99425d3e92ea2cc7bca426 (diff)
mb/google/brya: Correct AT24 NVM address size
Currently, the address size field of AT24 NVM is incorrect, and Linux v5.10 kernel logs the message below: at24 i2c-PRP0001:01: Bad "address-width" property: 14 The valid size of the AT24 NVM is 16 bits so modify the value from 0x0E to 0x10. TEST=Boot brya and check the kernel log and see "Bad address-width" error message is not shown. Signed-off-by: Varshit B Pandya <varshit.b.pandya@intel.com> Change-Id: I6c1ed5334396e0ca09ea0078426a7b5039ae4e8b Reviewed-on: https://review.coreboot.org/c/coreboot/+/58769 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
-rw-r--r--src/mainboard/google/brya/variants/brya0/overridetree.cb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/variants/brya0/overridetree.cb b/src/mainboard/google/brya/variants/brya0/overridetree.cb
index f3b7925dd7..0052d90a3a 100644
--- a/src/mainboard/google/brya/variants/brya0/overridetree.cb
+++ b/src/mainboard/google/brya/variants/brya0/overridetree.cb
@@ -320,7 +320,7 @@ chip soc/intel/alderlake
register "nvm_size" = "0x2800"
register "nvm_pagesize" = "0x01"
register "nvm_readonly" = "0x01"
- register "nvm_width" = "0x0E"
+ register "nvm_width" = "0x10"
device i2c 58 on end
end