summaryrefslogtreecommitdiff
path: root/include/sl28cpld.h
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2022-07-22 21:32:05 +0530
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2022-08-02 23:50:02 +0300
commitaedd45138ee61b4f5a48a2be9a358092a214edd5 (patch)
tree6483f6d9e727f44ff83737235a0cb9a13535d7e0 /include/sl28cpld.h
parente67ffb5aa5ab03a89305f4575ad3142486f9a306 (diff)
tpm: Add the RNG child device
The TPM device comes with the random number generator(RNG) functionality which is built into the TPM device. Add logic to add the RNG child device in the TPM uclass post probe callback. The RNG device can then be used to pass a set of random bytes to the linux kernel, need for address space randomisation through the EFI_RNG_PROTOCOL interface. No compatible string is provided because this is not available in the binding defined by Linux. If multiple rand devices are in the system, then some method of selecting them (other than device tree) will need to be used, or a binding will need to be added. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/sl28cpld.h')
0 files changed, 0 insertions, 0 deletions