diff options
author | Jacob Keller <[email protected]> | 2020-10-01 10:31:42 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-02-05 11:35:41 -0800 |
commit | 1fa95e0120ebe4d8953cb86e1617e3ab1dc5ce89 (patch) | |
tree | 15a727d88aab6b0c9d2cde901b9e49f4ad34e7f5 /tools/perf/scripts/python/stat-cpi.py | |
parent | 74789085d9ce9c626102d267eabfbff01a8cd855 (diff) |
ice: cache NVM module bank information
The ice flash contains two copies of each of the NVM, Option ROM, and
Netlist modules. Each bank has a pointer word and a size word. In order
to correctly read from the active flash bank, the driver must calculate
the offset manually.
During NVM initialization, read the Shadow RAM control word and
determine which bank is active for each NVM module. Additionally, cache
the size and pointer values for use in calculating the correct offset.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions