tssskiboot.c: chunk reads/writes in 1024-sized buffers to support larger nv indices
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 <1231eba1c884d483f37f1ec746d19a1008480910@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <3dfaff8fa6ae977f042064a112a6aac576279b9b@gmail.com>

legoater/skiboot,legoater/skiboot,qemu/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,legoater/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,qemu/skiboot,shenki/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,open-power/skiboot,shenki/skiboot