aboutsummaryrefslogtreecommitdiff
path: root/libstb/secvar
diff options
context:
space:
mode:
authorEric Richter <erichte@linux.ibm.com>2020-09-28 17:06:06 -0500
committerOliver O'Halloran <oohall@gmail.com>2020-10-01 13:44:07 +1000
commite3f0d4ebf94e0391d64c5ad8a579b4378715b275 (patch)
tree3ca983030407d215fd4f40113df1c3e73a722a85 /libstb/secvar
parent70adef3875f5010c512b5396aa6271a5e3b56c33 (diff)
downloadskiboot-e3f0d4ebf94e0391d64c5ad8a579b4378715b275.zip
skiboot-e3f0d4ebf94e0391d64c5ad8a579b4378715b275.tar.gz
skiboot-e3f0d4ebf94e0391d64c5ad8a579b4378715b275.tar.bz2
tssskiboot.c: chunk reads/writes in 1024-sized buffers to support larger nv indices
The Nuvoton npct650 chip has a command buffer max size of 1024. Attempting to read or write from an NV index larger than this value would return an error. This patch changes the tss_nv_read and tss_nv_write commands to chunk their operations in 1024-byte batches to allow support for larger NV indices. Signed-off-by: Eric Richter <erichte@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'libstb/secvar')
0 files changed, 0 insertions, 0 deletions