trogdor: Use both RAM code and manufacturer id to identify RAM
In Trogdor, RAM is integrated into a module, and the same module part
number could have RAMs from different vendors.
Since ODMs set RAM code strapping based on the module part number, in
Trogdor, we can no longer rely on RAM code alone to uniquely identify
the RAM in use.
In addition to RAM code, we'll also need RAM manufacturer ID from the
firmware log to uniquely identify the RAM.
BUG=b:177917361, b:176202011
TEST=Run `mosys memory spd print all` on Lazor
Change-Id: I92d1a10117d666e0f2435b99d64b14f7e9e932b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mosys/+/2681311
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Commit-Queue: Douglas Anderson <dianders@chromium.org>
1 file changed