]> git.sur5r.net Git - u-boot/commit
sandbox: tpm: Fix nvwrite command
authorChe-Liang Chiou <clchiou@chromium.org>
Sun, 10 Nov 2013 17:27:08 +0000 (10:27 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 9 Jan 2014 00:26:17 +0000 (17:26 -0700)
commit2c30af8f1861f09f217097460bfbea5ea691f8b8
tree040622b8a6ad981c257d43fc397a2a27f4450e99
parentb88eb329ce45c0c0f5471c8624f47bac35dd466e
sandbox: tpm: Fix nvwrite command

The original codes misused recvbuf in source buffer instead of sendbuf,
and read from incorrect offset 14 instead of 22.

Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
drivers/tpm/tpm_tis_sandbox.c