boot_param: copy code hash value

The code hash value is calculated based on the RO_GSCVD contents and
the SPI flash chip configuration.

BUG=b:365780075
TEST=with the GSC running code supporting boot param generation, using
     the hwtrust utility examined the values read from NVmem object at
     address 0x3fff09, observed proper contents including the code
     hash.

Change-Id: I342e4d63cbd2be0dae622ab694bca9df62f18216
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/6155397
Tested-by: Vadim Bendebury <[email protected]>
Reviewed-by: Andrey Pronin <[email protected]>
Commit-Queue: Vadim Bendebury <[email protected]>
1 file changed